diff --git a/bootstraptest/test_ractor.rb b/bootstraptest/test_ractor.rb index fcdd31ac2e..adb0755611 100644 --- a/bootstraptest/test_ractor.rb +++ b/bootstraptest/test_ractor.rb @@ -1636,7 +1636,7 @@ assert_equal "ok", %q{ 1_000.times { idle_worker, tmp_reporter = Ractor.select(*workers) } "ok" -} unless yjit_enabled? # flaky +} if !yjit_enabled? || ENV['GITHUB_WORKFLOW'] == 'ModGC' # flaky assert_equal "ok", %q{ def foo(*); ->{ super }; end