diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-04-03 19:07:08 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-04-03 20:03:18 +0900 |
| commit | 3f152ce767dcc2bda2232d35d29eaecf97932627 (patch) | |
| tree | e80fc10b108f6ba3fbe70fb5b42fb800751266b4 | |
| parent | 1dddc6c78b5f6dc6ae18ee04ebe44abfce3b0433 (diff) | |
Extend open_timeout for test failure on s390x
https://rubyci.s3.amazonaws.com/s390x/ruby-master/log/20250403T060004Z.fail.html.gz
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13058
| -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 a49cc87e8d..f01a9686c8 100644 --- a/test/net/http/test_http.rb +++ b/test/net/http/test_http.rb @@ -565,7 +565,7 @@ module TestNetHTTP_version_1_1_methods conn = Net::HTTP.new('localhost', port) conn.write_timeout = EnvUtil.apply_timeout_scale(0.01) conn.read_timeout = EnvUtil.apply_timeout_scale(0.01) if windows? - conn.open_timeout = EnvUtil.apply_timeout_scale(0.1) + conn.open_timeout = EnvUtil.apply_timeout_scale(1) th = Thread.new do err = !windows? ? Net::WriteTimeout : Net::ReadTimeout @@ -591,7 +591,7 @@ module TestNetHTTP_version_1_1_methods conn = Net::HTTP.new('localhost', port) conn.write_timeout = 0.01 conn.read_timeout = 0.01 if windows? - conn.open_timeout = 0.1 + conn.open_timeout = 1 req = Net::HTTP::Post.new('/') data = "a"*50_000_000 |
