From 5adb2591dacc9b9c40db373616b6bc0b5c5dadb7 Mon Sep 17 00:00:00 2001 From: Naoto Ono Date: Thu, 27 Mar 2025 21:22:38 +0900 Subject: [PATCH] Skip TestThreadInstrumentation#test_sleeping_inside_ractor on ModGC workflow (#12996) TestThreadInstrumentation#test_sleeping_inside_ractor is a flaky and failing intermittently. Additionally, Launchable reported this test as a top flaky test. (Link: https://app.launchableinc.com/organizations/ruby/workspaces/ruby/insights/unhealthy-tests) It failed only failed intermittently on ModGC workflow, so I'm gonna skip this test on ModGC workflow. --- test/-ext-/thread/test_instrumentation_api.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/-ext-/thread/test_instrumentation_api.rb b/test/-ext-/thread/test_instrumentation_api.rb index 663e41be53..c0fad14908 100644 --- a/test/-ext-/thread/test_instrumentation_api.rb +++ b/test/-ext-/thread/test_instrumentation_api.rb @@ -161,6 +161,8 @@ class TestThreadInstrumentation < Test::Unit::TestCase end def test_sleeping_inside_ractor + omit "This test is flaky and intermittently failing now on ModGC workflow" if ENV['GITHUB_WORKFLOW'] == 'ModGC' + assert_ractor(<<-"RUBY", require_relative: "helper", require: "-test-/thread/instrumentation") include ThreadInstrumentation::TestHelper