Skip to content

Commit 277959b

Browse files
k0kubunhsbt
authored andcommitted
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
1 parent 1066156 commit 277959b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/net/http/test_httpresponse.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ def test_read_body_block_mod
8888
:ok
8989
end
9090
io = Net::BufferedIO.new(r)
91+
io.read_timeout *= 5 if RubyVM::MJIT.enabled? # for --jit-wait
9192
res = Net::HTTPResponse.read_new(io)
9293
nr = 0
9394
res.reading_body io, true do

0 commit comments

Comments
 (0)