1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Yusuke Endoh 2019-06-13 23:04:41 +09:00
parent e75c278183
commit 56d595198b

View file

@ -55,7 +55,7 @@ class TestWEBrickSSLServer < Test::Unit::TestCase
:SSLEnable => true,
:SSLCertName => "/C=JP/O=www.ruby-lang.org/CN=Ruby",
}
Timeout.timeout(10) do
EnvUtil.timeout(10) do
TestWEBrick.start_server(Echo, config) do |server, addr, port, log|
outer = TCPSocket.new(addr, port)
inner = TCPSocket.new(addr, port)