1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/net-http] RubyVM::MJIT is deprecated, prefer RubyVM::JIT now

https://github.com/ruby/net-http/commit/abc6ea1877
This commit is contained in:
Nobuyoshi Nakada 2021-01-15 10:54:42 +09:00
parent 724c289b5c
commit d961f14df3

View file

@ -78,7 +78,9 @@ EOS
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::JIT) && RubyVM::JIT.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