Skip to content

Commit

Permalink
Skip a flaky GC.compact test for YJIT
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
k0kubun committed Mar 12, 2024
1 parent a9eb040 commit c3915a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/ruby/test_symbol.rb
Expand Up @@ -120,6 +120,7 @@ def test_inspect

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
Expand Down

0 comments on commit c3915a0

Please sign in to comment.