Skip a flaky Ractor test

https://github.com/ruby/ruby/actions/runs/9289798294/job/25564563437
This commit is contained in:
Takashi Kokubun 2024-05-29 09:38:38 -07:00
parent 015d6bae8b
commit 8c29a3776e

View File

@ -1532,7 +1532,7 @@ assert_equal "ok", %q{
1_000.times { idle_worker, tmp_reporter = Ractor.select(*workers) }
"ok"
} unless ENV['RUN_OPTS'] =~ /rjit/ # flaky
} unless ENV['RUN_OPTS'] =~ /rjit/ || ENV.key?('CI') # flaky
assert_equal "ok", %q{
def foo(*); ->{ super }; end