diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-01-15 10:54:42 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-01-21 20:50:23 +0900 |
commit | d961f14df3629f933613b062034deea0346de1cd (patch) | |
tree | 41f2a39bfba78443925e780b238ff196d6cb1a58 /test/net | |
parent | 724c289b5c68aa9890b381c99bd365986a5bd6bf (diff) | |
download | ruby-d961f14df3629f933613b062034deea0346de1cd.tar.gz |
[ruby/net-http] RubyVM::MJIT is deprecated, prefer RubyVM::JIT now
https://github.com/ruby/net-http/commit/abc6ea1877
Diffstat (limited to 'test/net')
-rw-r--r-- | test/net/http/test_httpresponse.rb | 4 |
1 files changed, 3 insertions, 1 deletions
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 |