Skip to content

Commit 58d2b77

Browse files
k0kubunhsbt
authored andcommitted
Skip test_read_body_block_mod for --jit-wait
1 parent d8596fd commit 58d2b77

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/net/http/test_httpresponse.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ def test_read_body_block
7777
end
7878

7979
def test_read_body_block_mod
80+
# http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/3019353
81+
skip 'too unstable with --jit-wait, and extending read_timeout did not help it' if RubyVM::MJIT.enabled?
8082
IO.pipe do |r, w|
8183
buf = 'x' * 1024
8284
buf.freeze
@@ -88,7 +90,6 @@ def test_read_body_block_mod
8890
:ok
8991
end
9092
io = Net::BufferedIO.new(r)
91-
io.read_timeout *= 10 if RubyVM::MJIT.enabled? # for --jit-wait
9293
res = Net::HTTPResponse.read_new(io)
9394
nr = 0
9495
res.reading_body io, true do

0 commit comments

Comments
 (0)