summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2024-03-12 10:58:45 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2024-03-12 11:02:35 -0700
commitc3915a0741f3fc502df2bae48ef2d2029543c18c (patch)
tree97497ed01a1c034150cd7b51f808ef9c45b35e68
parenta9eb0400c2cbec8283427d1974df5b37202de67f (diff)
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.
-rw-r--r--test/ruby/test_symbol.rb1
1 files changed, 1 insertions, 0 deletions
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