Description: Skip GC.compact examples on s390x Author: Simon Quigley Bug-Debian: https://bugs.debian.org/1142853 Origin: vendor Forwarded: not-needed Last-Update: 2026-08-01 --- --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -28,4 +28,14 @@ RSpec.configure do |config| config.default_formatter = 'doc' if config.files_to_run.one? config.order = :random Kernel.srand config.seed + + if RUBY_PLATFORM.include?("s390x") + config.around(:each) do |example| + if example.metadata[:description] == "supports GC compaction" + skip "GC.compact hangs intermittently on s390x (Debian #1142853)" + else + example.run + end + end + end end