diff options
| -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 |
