summaryrefslogtreecommitdiff
path: root/test/webrick/test_filehandler.rb
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-06-06 21:19:09 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-06-06 21:50:30 +0900
commit9f941f61efb5bdf6572f2d41ad29bcab267ecf5f (patch)
tree4bc9264eb3c9ef6a78489a82bbae334cf52fda6a /test/webrick/test_filehandler.rb
parent60924636e5184c967df129e523ba9374ccc57144 (diff)
test/webrick/test_filehandler.rb: extend the timeout for Solaris CI
https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable10s/ruby-master/log/20190602T031908Z.fail.html.gz
Diffstat (limited to 'test/webrick/test_filehandler.rb')
-rw-r--r--test/webrick/test_filehandler.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/webrick/test_filehandler.rb b/test/webrick/test_filehandler.rb
index 7095038189..b5fb4e4a70 100644
--- a/test/webrick/test_filehandler.rb
+++ b/test/webrick/test_filehandler.rb
@@ -307,6 +307,8 @@ class WEBrick::TestFileHandler < Test::Unit::TestCase
}
TestWEBrick.start_httpserver(config, log_tester) do |server, addr, port, log|
http = Net::HTTP.new(addr, port)
+ http.read_timeout = EnvUtil.apply_timeout_scale(60)
+ http.write_timeout = EnvUtil.apply_timeout_scale(60)
req = Net::HTTP::Get.new("/webrick.cgi/test")
http.request(req) do |res|