[前][次][番号順一覧][スレッド一覧]

ruby-changes:64984

From: Nobuyoshi <ko1@a...>
Date: Thu, 21 Jan 2021 20:52:22 +0900 (JST)
Subject: [ruby-changes:64984] d961f14df3 (master): [ruby/net-http] RubyVM::MJIT is deprecated, prefer RubyVM::JIT now

https://git.ruby-lang.org/ruby.git/commit/?id=d961f14df3

From d961f14df3629f933613b062034deea0346de1cd Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Fri, 15 Jan 2021 10:54:42 +0900
Subject: [ruby/net-http] RubyVM::MJIT is deprecated, prefer RubyVM::JIT now

https://github.com/ruby/net-http/commit/abc6ea1877

diff --git a/test/net/http/test_httpresponse.rb b/test/net/http/test_httpresponse.rb
index 5063384..ea2a121 100644
--- a/test/net/http/test_httpresponse.rb
+++ b/test/net/http/test_httpresponse.rb
@@ -78,7 +78,9 @@ EOS https://github.com/ruby/ruby/blob/trunk/test/net/http/test_httpresponse.rb#L78
 
   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
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]