From c3915a0741f3fc502df2bae48ef2d2029543c18c Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Tue, 12 Mar 2024 10:58:45 -0700 Subject: [PATCH] Skip a flaky GC.compact test for YJIT This test has failed without YJIT too: https://rubyci.s3.amazonaws.com/debian11/ruby-master/log/20240301T063003Z.fail.html.gz However, it somehow fails more often on "YJIT Ubuntu / check RUSTC='rustc +1.58.0'" job. Nobody is actively looking into this issue, and it's most likely not a YJIT-specific issue, so let me silence this false positive until we start working on this. --- test/ruby/test_symbol.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/ruby/test_symbol.rb b/test/ruby/test_symbol.rb index 67a8303c54..4170f62899 100644 --- a/test/ruby/test_symbol.rb +++ b/test/ruby/test_symbol.rb @@ -120,6 +120,7 @@ class TestSymbol < Test::Unit::TestCase def test_inspect_under_gc_compact_stress omit "compaction doesn't work well on s390x" if RUBY_PLATFORM =~ /s390x/ # https://github.com/ruby/ruby/pull/5077 + omit "very flaky on many platforms, more so with YJIT enabled" if defined?(RubyVM::YJIT) && RubyVM::YJIT.enabled? EnvUtil.under_gc_compact_stress do assert_inspect_evaled(':testing') end