Skip to content

Commit abc6ea1

Browse files
nobuhsbt
authored andcommitted
RubyVM::MJIT is deprecated, prefer RubyVM::JIT now
1 parent e736b5b commit abc6ea1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/net/http/test_httpresponse.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ def test_read_body_block
7878

7979
def test_read_body_block_mod
8080
# 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 defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?
81+
if defined?(RubyVM::JIT) && RubyVM::JIT.enabled? || defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?
82+
skip 'too unstable with --jit-wait, and extending read_timeout did not help it'
83+
end
8284
IO.pipe do |r, w|
8385
buf = 'x' * 1024
8486
buf.freeze

0 commit comments

Comments
 (0)