diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2019-06-11 06:45:49 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2019-06-11 06:45:49 +0900 |
commit | 6096baea5db6505206f0e636c4e5272b4eb72da4 (patch) | |
tree | 5c586474bb5568416d5b7ab45457a51dd1568c3a /test/net | |
parent | d7e7e998625a3ab10c76ba94816db9d6a753e058 (diff) |
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
Diffstat (limited to 'test/net')
-rw-r--r-- | test/net/http/test_http.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/net/http/test_http.rb b/test/net/http/test_http.rb index 2b3104fc87..0344ad786b 100644 --- a/test/net/http/test_http.rb +++ b/test/net/http/test_http.rb @@ -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 |