File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -565,7 +565,7 @@ def test_timeout_during_HTTP_session_write
565
565
conn = Net ::HTTP . new ( 'localhost' , port )
566
566
conn . write_timeout = EnvUtil . apply_timeout_scale ( 0.01 )
567
567
conn . read_timeout = EnvUtil . apply_timeout_scale ( 0.01 ) if windows?
568
- conn . open_timeout = EnvUtil . apply_timeout_scale ( 0. 1)
568
+ conn . open_timeout = EnvUtil . apply_timeout_scale ( 1 )
569
569
570
570
th = Thread . new do
571
571
err = !windows? ? Net ::WriteTimeout : Net ::ReadTimeout
@@ -591,7 +591,7 @@ def test_timeout_during_non_chunked_streamed_HTTP_session_write
591
591
conn = Net ::HTTP . new ( 'localhost' , port )
592
592
conn . write_timeout = 0.01
593
593
conn . read_timeout = 0.01 if windows?
594
- conn . open_timeout = 0. 1
594
+ conn . open_timeout = 1
595
595
596
596
req = Net ::HTTP ::Post . new ( '/' )
597
597
data = "a" *50_000_000
You can’t perform that action at this time.
0 commit comments