diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/webrick/test_ssl_server.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/webrick/test_ssl_server.rb b/test/webrick/test_ssl_server.rb index 64cf25f78b..4e52598bf5 100644 --- a/test/webrick/test_ssl_server.rb +++ b/test/webrick/test_ssl_server.rb @@ -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) |