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
565565 conn = Net ::HTTP . new ( 'localhost' , port )
566566 conn . write_timeout = EnvUtil . apply_timeout_scale ( 0.01 )
567567 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 )
569569
570570 th = Thread . new do
571571 err = !windows? ? Net ::WriteTimeout : Net ::ReadTimeout
@@ -591,7 +591,7 @@ def test_timeout_during_non_chunked_streamed_HTTP_session_write
591591 conn = Net ::HTTP . new ( 'localhost' , port )
592592 conn . write_timeout = 0.01
593593 conn . read_timeout = 0.01 if windows?
594- conn . open_timeout = 0. 1
594+ conn . open_timeout = 1
595595
596596 req = Net ::HTTP ::Post . new ( '/' )
597597 data = "a" *50_000_000
You can’t perform that action at this time.
0 commit comments