From 56d595198b607d2abbb0f60ef0d9e1217d08d1af Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Thu, 13 Jun 2019 23:04:41 +0900 Subject: [PATCH] test/webrick/test_ssl_server.rb: Use EnvUtil.timeout for timeout scale factor https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-9d6766/ruby-master/log/20190613T091708Z.fail.html.gz https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-9d6766/ruby-master/log/20190612T011708Z.fail.html.gz https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-9d6766/ruby-master/log/20190611T211707Z.fail.html.gz https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-9d6766/ruby-master/log/20190604T171708Z.fail.html.gz https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-9d6766/ruby-master/log/20190529T091707Z.fail.html.gz https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-9d6766/ruby-master/log/20190528T031708Z.fail.html.gz --- test/webrick/test_ssl_server.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)