summaryrefslogtreecommitdiff
path: root/test/net
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2025-04-03 19:30:24 +0900
committerHiroshi SHIBATA <[email protected]>2025-04-03 20:03:18 +0900
commitfab133e629c507f4add4a7dde2e0ba12b7ec281c ()
treef2112f24b243a3d0fbdf529f90cfb945e413622b /test/net
parent3f152ce767dcc2bda2232d35d29eaecf97932627 (diff)
Use EnvUtil.apply_timeout_scale
Notes: Merged: https://.com/ruby/ruby/pull/13058
-rw-r--r--test/net/http/test_http.rb6
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