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:
parent
60924636e5
commit
9f941f61ef
1 changed files with 2 additions and 0 deletions
|
@ -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|
|
||||
|
|
Loading…
Reference in a new issue