From d961f14df3629f933613b062034deea0346de1cd Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 15 Jan 2021 10:54:42 +0900 Subject: [PATCH] [ruby/net-http] RubyVM::MJIT is deprecated, prefer RubyVM::JIT now https://github.com/ruby/net-http/commit/abc6ea1877 --- test/net/http/test_httpresponse.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/net/http/test_httpresponse.rb b/test/net/http/test_httpresponse.rb index 5063384569..ea2a121c20 100644 --- a/test/net/http/test_httpresponse.rb +++ b/test/net/http/test_httpresponse.rb @@ -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