1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
Yusuke Endoh 2019-06-06 21:19:09 +09:00
parent 60924636e5
commit 9f941f61ef

View file

@ -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|