summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/net/http/test_httpresponse.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/net/http/test_httpresponse.rb b/test/net/http/test_httpresponse.rb
index a03bb2e152..ca4263e110 100644
--- a/test/net/http/test_httpresponse.rb
+++ b/test/net/http/test_httpresponse.rb
@@ -88,6 +88,7 @@ EOS
:ok
end
io = Net::BufferedIO.new(r)
+ io.read_timeout *= 5 if RubyVM::MJIT.enabled? # for --jit-wait
res = Net::HTTPResponse.read_new(io)
nr = 0
res.reading_body io, true do