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-04 07:38:56 +0900 |
| commit | fa95d1b0b8f69625cfac0843d02b9cff6cae01dd (patch) | |
| tree | 94e6e755e2a24f6ec140b441e3aff55154b259ef | |
| parent | b79909fc5ab0979eabb3d04c5d58388e760197c6 (diff) | |
Extend open_timeout for test failure on s390x
https://rubyci.s3.amazonaws.com/s390x/ruby-master/log/20250403T060004Z.fail.html.gz
| -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 55fc983a0f..d45d26ad46 100644 --- a/test/net/http/test_http.rb +++ b/test/net/http/test_http.rb @@ -549,7 +549,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 @@ -575,7 +575,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 |
