summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bootstraptest/test_ractor.rb3
1 files changed, 2 insertions, 1 deletions
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{