8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d6143d commit bbf5f12Copy full SHA for bbf5f12
test/net/http/test_http.rb
@@ -589,9 +589,9 @@ def test_timeout_during_non_chunked_streamed_HTTP_session_write
589
port = server.addr[1]
590
591
conn = Net::HTTP.new('localhost', port)
592
- conn.write_timeout = 0.01
593
- conn.read_timeout = 0.01 if windows?
594
- conn.open_timeout = 1
+ 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(1)
595
596
req = Net::HTTP::Post.new('/')
597
data = "a"*50_000_000
0 commit comments