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:
parent
c5960d51d1
commit
53acf6686a
1 changed files with 0 additions and 12 deletions
|
@ -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',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue