Fixed wrong condition to avoid flaky ractor_test.rb

This commit is contained in:
Hiroshi SHIBATA 2025-04-07 10:44:50 +09:00
parent be5dea9720
commit f70bf78403
Notes: git 2025-04-07 06:11:14 +00:00

View File

@ -1636,7 +1636,7 @@ assert_equal "ok", %q{
1_000.times { idle_worker, tmp_reporter = Ractor.select(*workers) }
"ok"
} if !yjit_enabled? || ENV['GITHUB_WORKFLOW'] != 'ModGC' # flaky
} if !yjit_enabled? && ENV['GITHUB_WORKFLOW'] != 'ModGC' # flaky
assert_equal "ok", %q{
def foo(*); ->{ super }; end