summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-03-02 09:46:55 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-02 09:47:07 -0800
commit533c8c0c44d064eff90f8c26407a9e0fac4baa43 (patch)
tree757ab5ea2900a8ab7f606263714a3550421c9edf /bootstraptest
parentfac92cd05077e5f6ff9d955cc834df23b0f6a72b (diff)
downloadruby-533c8c0c44d064eff90f8c26407a9e0fac4baa43.tar.gz
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
Diffstat (limited to 'bootstraptest')
-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{