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.
This commit is contained in:
Naoto Ono 2025-03-27 21:22:38 +09:00 committed by GitHub
parent c577416b27
commit 5adb2591da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
Notes: git 2025-03-27 12:22:55 +00:00
Merged-By: ono-max <onoto1998@gmail.com>

View File

@ -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