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.
This commit is contained in:
Peter Zhu 2023-07-31 20:02:32 -04:00
parent 04f4e0aeb2
commit ec0e6809f9

View File

@ -352,6 +352,7 @@ class TestGCCompact < Test::Unit::TestCase
def test_moving_objects_between_size_pools def test_moving_objects_between_size_pools
omit if GC::INTERNAL_CONSTANTS[:SIZE_POOL_COUNT] == 1 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) assert_separately(%w[-robjspace], "#{<<~"begin;"}\n#{<<~"end;"}", timeout: 10, signal: :SEGV)
begin; begin;