From c2b16c8dd5e1fc3e04a407390de2d1cf02081ab2 Mon Sep 17 00:00:00 2001 From: Luke Gruber Date: Tue, 21 Jul 2026 11:55:09 -0400 Subject: [PATCH] Turn off macos segv handler testing in CI For whatever reason we're getting timeouts after 100s. Since there is so much async-signal-unsafe code in the crash handler, it could be many things. It's best to turn it off until we can reproduce it locally and fix it (assuming we can). --- test/-ext-/bug_reporter/test_bug_reporter.rb | 1 + test/ruby/test_rubyoptions.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/test/-ext-/bug_reporter/test_bug_reporter.rb b/test/-ext-/bug_reporter/test_bug_reporter.rb index eb557e9a8c5..4b654acc251 100644 --- a/test/-ext-/bug_reporter/test_bug_reporter.rb +++ b/test/-ext-/bug_reporter/test_bug_reporter.rb @@ -6,6 +6,7 @@ require_relative '../../lib/parser_support' class TestBugReporter < Test::Unit::TestCase def test_bug_reporter_add + omit if macos? && ENV["CI"] # we're getting timeouts even after 100s in CI description = RUBY_DESCRIPTION description = description.sub(/\+PRISM /, '') unless ParserSupport.prism_enabled_in_subprocess? expected_stderr = [ diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index d1b8ea67ec3..b50926591eb 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -845,6 +845,7 @@ class TestRubyOptions < Test::Unit::TestCase end def assert_segv(args, message=nil, list: SEGVTest::ExpectedStderrList, **opt, &block) + omit if macos? && ENV["CI"] # we're getting timeouts even after 100s in CI, not sure why. # We want YJIT to be enabled in the subprocess if it's enabled for us # so that the Ruby description matches. env = Hash === args.first ? args.shift : {}