diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2023-08-03 11:08:22 -0400 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2023-08-04 09:13:57 -0400 |
| commit | 61b76e74afa0976ff97685aa6e762633a3d43376 (patch) | |
| tree | 52da1b2296afed7b76be8ded73b781d37bb79071 /test | |
| parent | 4b45b2764b293af45c159d3772692b52752e662a (diff) | |
Revert "Tests to move between size pools are flaky on Windows too"
This reverts commit c5abe0d08f8f7686422e6eef374cf8c78aefacb6.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/8166
Diffstat (limited to 'test')
| -rw-r--r-- | test/ruby/test_gc_compact.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/ruby/test_gc_compact.rb b/test/ruby/test_gc_compact.rb index 1fa479ac6d..8a3f1f145d 100644 --- a/test/ruby/test_gc_compact.rb +++ b/test/ruby/test_gc_compact.rb @@ -310,7 +310,6 @@ class TestGCCompact < Test::Unit::TestCase def test_moving_arrays_down_size_pools omit if GC::INTERNAL_CONSTANTS[:SIZE_POOL_COUNT] == 1 - pend "Flaky on some platforms" if /solaris|mswin/i =~ RUBY_PLATFORM assert_separately(%w[-robjspace], "#{<<~"begin;"}\n#{<<~"end;"}", timeout: 10, signal: :SEGV) begin; @@ -331,7 +330,6 @@ class TestGCCompact < Test::Unit::TestCase def test_moving_arrays_up_size_pools omit if GC::INTERNAL_CONSTANTS[:SIZE_POOL_COUNT] == 1 - pend "Flaky on some platforms" if /solaris|mswin/i =~ RUBY_PLATFORM assert_separately(%w[-robjspace], "#{<<~"begin;"}\n#{<<~"end;"}", timeout: 10, signal: :SEGV) begin; @@ -354,7 +352,7 @@ class TestGCCompact < Test::Unit::TestCase def test_moving_objects_between_size_pools omit if GC::INTERNAL_CONSTANTS[:SIZE_POOL_COUNT] == 1 - pend "Flaky on some platforms" if /solaris|mswin/i =~ RUBY_PLATFORM + omit "Flaky on Solaris" if /solaris/i =~ RUBY_PLATFORM assert_separately(%w[-robjspace], "#{<<~"begin;"}\n#{<<~"end;"}", timeout: 10, signal: :SEGV) begin; @@ -385,7 +383,6 @@ class TestGCCompact < Test::Unit::TestCase def test_moving_strings_up_size_pools omit if GC::INTERNAL_CONSTANTS[:SIZE_POOL_COUNT] == 1 - pend "Flaky on some platforms" if /solaris|mswin/i =~ RUBY_PLATFORM assert_separately(%w[-robjspace], "#{<<~"begin;"}\n#{<<~"end;"}", timeout: 10, signal: :SEGV) begin; @@ -405,7 +402,6 @@ class TestGCCompact < Test::Unit::TestCase def test_moving_strings_down_size_pools omit if GC::INTERNAL_CONSTANTS[:SIZE_POOL_COUNT] == 1 - pend "Flaky on some platforms" if /solaris|mswin/i =~ RUBY_PLATFORM assert_separately(%w[-robjspace], "#{<<~"begin;"}\n#{<<~"end;"}", timeout: 10, signal: :SEGV) begin; @@ -429,7 +425,7 @@ class TestGCCompact < Test::Unit::TestCase # This test fails on Solaris SPARC with the following error and I can't figure out why: # TestGCCompact#test_moving_hashes_down_size_pools # Expected 499 to be >= 500. - pend "Flaky on some platforms" if /solaris|mswin/i =~ RUBY_PLATFORM + omit if /sparc-solaris/ =~ RUBY_PLATFORM assert_separately(%w[-robjspace], "#{<<~"begin;"}\n#{<<~"end;"}", timeout: 10, signal: :SEGV) begin; |
