From ec0e6809f9247a8028500d3e915ab01f63c7d59b Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Mon, 31 Jul 2023 20:02:32 -0400 Subject: Skip flaky test on Solaris This test is flaky on "SPARC Solaris 10 (gcc)" CI with this message: TestGCCompact#test_moving_objects_between_size_pools [test/ruby/test_gc_compact.rb:378]: Expected 499 to be >= 500. --- test/ruby/test_gc_compact.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/ruby/test_gc_compact.rb b/test/ruby/test_gc_compact.rb index 5cdd06ffcf..8a3f1f145d 100644 --- a/test/ruby/test_gc_compact.rb +++ b/test/ruby/test_gc_compact.rb @@ -352,6 +352,7 @@ class TestGCCompact < Test::Unit::TestCase def test_moving_objects_between_size_pools omit if GC::INTERNAL_CONSTANTS[:SIZE_POOL_COUNT] == 1 + omit "Flaky on Solaris" if /solaris/i =~ RUBY_PLATFORM assert_separately(%w[-robjspace], "#{<<~"begin;"}\n#{<<~"end;"}", timeout: 10, signal: :SEGV) begin; -- cgit v1.2.3