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

This reverts commit c06eab13290757fc326bb2a6e3ac25cd53e00894.
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 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 def test_port_numbers
config = { config = {
:BindAddress => '0.0.0.0', :BindAddress => '0.0.0.0',