mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test/net/http/test_http.rb: Extend the timeout
https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable10s/ruby-master/log/20190610T071910Z.log.html.gz
This commit is contained in:
parent
d7e7e99862
commit
6096baea5d
1 changed files with 2 additions and 2 deletions
|
@ -544,7 +544,7 @@ module TestNetHTTP_version_1_1_methods
|
|||
err = !windows? ? Net::WriteTimeout : Net::ReadTimeout
|
||||
assert_raise(err) { conn.post('/', "a"*50_000_000) }
|
||||
end
|
||||
assert th.join(10)
|
||||
assert th.join(EnvUtil.apply_timeout_scale(10))
|
||||
}
|
||||
ensure
|
||||
th&.kill
|
||||
|
@ -568,7 +568,7 @@ module TestNetHTTP_version_1_1_methods
|
|||
conn.get('/')
|
||||
}
|
||||
end
|
||||
assert th.join(10), bug4246
|
||||
assert th.join(EnvUtil.apply_timeout_scale(10)), bug4246
|
||||
}
|
||||
ensure
|
||||
th.kill
|
||||
|
|
Loading…
Reference in a new issue