From bccf4b30fa251dd4394d4ad477bad53c624d2aba Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Thu, 22 Feb 2024 14:34:19 -0800 Subject: Skip under_gc_compact_stress on s390x (#10073) --- test/ruby/test_array.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test/ruby/test_array.rb') diff --git a/test/ruby/test_array.rb b/test/ruby/test_array.rb index 97e2fa3de8..e40651eb8e 100644 --- a/test/ruby/test_array.rb +++ b/test/ruby/test_array.rb @@ -1703,6 +1703,7 @@ class TestArray < Test::Unit::TestCase end def test_slice_gc_compact_stress + omit "compaction doesn't work well on s390x" if RUBY_PLATFORM =~ /s390x/ # https://github.com/ruby/ruby/pull/5077 EnvUtil.under_gc_compact_stress { assert_equal([1, 2, 3, 4, 5], (0..10).to_a[1, 5]) } EnvUtil.under_gc_compact_stress do a = [0, 1, 2, 3, 4, 5] -- cgit v1.2.3