diff options
author | Hiroshi SHIBATA <[email protected]> | 2025-04-03 19:30:24 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2025-04-03 20:03:18 +0900 |
commit | fab133e629c507f4add4a7dde2e0ba12b7ec281c () | |
tree | f2112f24b243a3d0fbdf529f90cfb945e413622b /test/net | |
parent | 3f152ce767dcc2bda2232d35d29eaecf97932627 (diff) |
Use EnvUtil.apply_timeout_scale
Notes: Merged: https://.com/ruby/ruby/pull/13058
-rw-r--r-- | test/net/http/test_http.rb | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -589,9 +589,9 @@ module TestNetHTTP_version_1_1_methods port = server.addr[1] conn = Net::HTTP.new('localhost', port) - conn.write_timeout = 0.01 - conn.read_timeout = 0.01 if windows? - conn.open_timeout = 1 req = Net::HTTP::Post.new('/') data = "a"*50_000_000 |