summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-24 22:54:01 (GMT)
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-24 22:54:01 (GMT)
commit53acf6686ab4dbf8be9bd72e0a6be4c99029aed9 (patch)
tree6bee165a6ddebdd2974bab3eefe118fd737b0607
parentc5960d51d13a002b02d18ad328eb7d5b8937805d (diff)
Revert "[ruby/webrick] Add test for shutdown_pipe"
This reverts commit c06eab13290757fc326bb2a6e3ac25cd53e00894.
-rw-r--r--test/webrick/test_server.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/webrick/test_server.rb b/test/webrick/test_server.rb
index aa40a72..815cc3c 100644
--- a/test/webrick/test_server.rb
+++ b/test/webrick/test_server.rb
@@ -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',