From 2f4fe76eff0a8c6ab7a1d2fb845453acfc3cb206 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_weakmap.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test/ruby/test_weakmap.rb') diff --git a/test/ruby/test_weakmap.rb b/test/ruby/test_weakmap.rb index 0371afa77a..97d7197dbb 100644 --- a/test/ruby/test_weakmap.rb +++ b/test/ruby/test_weakmap.rb @@ -238,6 +238,7 @@ class TestWeakMap < Test::Unit::TestCase end def test_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 { ObjectSpace::WeakMap.new } end -- cgit v1.2.3