diff options
author | Peter Zhu <peter@peterzhu.ca> | 2023-07-31 20:02:32 -0400 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2023-07-31 20:02:32 -0400 |
commit | ec0e6809f9247a8028500d3e915ab01f63c7d59b (patch) | |
tree | 6a095621df1c9cefef03ab9bfaa5c937395ed7be | |
parent | 04f4e0aeb2e9543e360a566eca0d1cea859b13dd (diff) | |
download | ruby-ec0e6809f9247a8028500d3e915ab01f63c7d59b.tar.gz |
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.
-rw-r--r-- | test/ruby/test_gc_compact.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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; |