summaryrefslogtreecommitdiff
path: root/test/ruby/test_weakmap.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2024-02-22 14:34:19 -0800
committerGitHub <noreply@github.com>2024-02-22 14:34:19 -0800
commitbccf4b30fa251dd4394d4ad477bad53c624d2aba (patch)
tree92f5e9f31a2165a3b617c7ed047405acc52ffaa3 /test/ruby/test_weakmap.rb
parent2b0bc447e5b4057253f7cb8480fc6338f6528858 (diff)
Skip under_gc_compact_stress on s390x (#10073)
Diffstat (limited to 'test/ruby/test_weakmap.rb')
-rw-r--r--test/ruby/test_weakmap.rb1
1 files changed, 1 insertions, 0 deletions
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