summaryrefslogtreecommitdiff
path: root/test/net
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2020-06-21 16:16:10 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2020-06-21 16:16:24 -0700
commiteed4aaa0bf8aa3109936c4276a71c0cdab4d54d6 (patch)
treecec1231b0d00788bced0b65a5d51151e128f3937 /test/net
parent54ad2bd6d09b8a04baef60dde2998bd40e73db36 (diff)
Increase read_timeout for --jit-wait
This tries to fix a random failure like http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/3017837
Diffstat (limited to 'test/net')
-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 a03bb2e..ca4263e 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