Skip to content

Commit

Permalink
RubyVM::MJIT is deprecated, prefer RubyVM::JIT now
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu authored and hsbt committed Jan 21, 2021
1 parent e736b5b commit abc6ea1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/net/http/test_httpresponse.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ def test_read_body_block

def test_read_body_block_mod
# http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/3019353
skip 'too unstable with --jit-wait, and extending read_timeout did not help it' if defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?
if defined?(RubyVM::JIT) && RubyVM::JIT.enabled? || defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?
skip 'too unstable with --jit-wait, and extending read_timeout did not help it'
end
IO.pipe do |r, w|
buf = 'x' * 1024
buf.freeze
Expand Down

0 comments on commit abc6ea1

Please sign in to comment.