From 533c8c0c44d064eff90f8c26407a9e0fac4baa43 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Thu, 2 Mar 2023 09:46:55 -0800 Subject: [PATCH] Re-skip an unstable Ractor test https://github.com/ruby/ruby/actions/runs/4316423442/jobs/7532190115 http://ci.rvm.jp/results/trunk-yjit@ruby-sp2-docker/4466770 --- bootstraptest/test_ractor.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bootstraptest/test_ractor.rb b/bootstraptest/test_ractor.rb index e3b8cbe325..b3776f6ced 100644 --- a/bootstraptest/test_ractor.rb +++ b/bootstraptest/test_ractor.rb @@ -1673,6 +1673,7 @@ assert_equal '30', %q{ } # Selector#wait can support dynamic addition +yjit_enabled = ENV.key?('RUBY_YJIT_ENABLE') || ENV.fetch('RUN_OPTS', '').include?('yjit') assert_equal '600', %q{ RN = 100 s = Ractor::Selector.new @@ -1699,7 +1700,7 @@ assert_equal '600', %q{ end h.sum{|k, v| v} -} +} unless yjit_enabled # http://ci.rvm.jp/results/trunk-yjit@ruby-sp2-docker/4466770 # Selector should be GCed (free'ed) withtou trouble assert_equal 'ok', %q{