1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Revert "[ruby/webrick] Add test for shutdown_pipe"

This reverts commit c06eab1329.
This commit is contained in:
Hiroshi SHIBATA 2020-09-25 07:54:01 +09:00
parent c5960d51d1
commit 53acf6686a
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -161,18 +161,6 @@ class TestWEBrickServer < Test::Unit::TestCase
}
end
def test_shutdown_pipe
pipe = IO.pipe
server = WEBrick::GenericServer.new(
:ShutdownPipe => pipe,
:BindAddress => '0.0.0.0',
:Port => 0,
:Logger => WEBrick::Log.new([], WEBrick::BasicLog::WARN))
server_thread = Thread.start { server.start }
pipe.last.puts('')
assert_join_threads([server_thread])
end
def test_port_numbers
config = {
:BindAddress => '0.0.0.0',