diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-12-19 13:59:23 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2022-12-19 13:59:36 -0800 |
commit | 650a20a3e1205f47224a987676cdbad7d826d597 (patch) | |
tree | 5fabd38cf4b5d4bfaed4a704ea0b1d11d928e4d1 /bootstraptest/test_ractor.rb | |
parent | 8275cad1e1646a2b301962313dc3e8ff1deb87b3 (diff) |
Re-enable test_ractor for YJIT
This would be still flaky, but we want to make sure there's no
YJIT-specific issue when Ruby 3.2 is released. We might skip it again
after the release.
Diffstat (limited to 'bootstraptest/test_ractor.rb')
-rw-r--r-- | bootstraptest/test_ractor.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bootstraptest/test_ractor.rb b/bootstraptest/test_ractor.rb index 4f659374f2..a3b661da83 100644 --- a/bootstraptest/test_ractor.rb +++ b/bootstraptest/test_ractor.rb @@ -480,7 +480,6 @@ assert_equal 'ok', %q{ } # multiple Ractors can receive (wait) from one Ractor -yjit_enabled = ENV.key?('RUBY_YJIT_ENABLE') || ENV.fetch('RUN_OPTS', '').include?('yjit') assert_equal '[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]', %q{ pipe = Ractor.new do loop do @@ -503,7 +502,7 @@ assert_equal '[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]', %q{ rs.delete r n }.sort -} unless yjit_enabled # flaky with YJIT https://github.com/ruby/ruby/actions/runs/3603398545/jobs/6071549328#step:18:33 +} # Ractor.select also support multiple take, receive and yield assert_equal '[true, true, true]', %q{ @@ -1502,7 +1501,7 @@ assert_equal "#{n}#{n}", %Q{ end end }.map{|r| r.take}.join -} unless yjit_enabled # flaky with YJIT https://github.com/ruby/ruby/actions/runs/3692339025/jobs/6251137785 +} # NameError assert_equal "ok", %q{ @@ -1543,7 +1542,7 @@ assert_equal "ok", %q{ 1_000.times { idle_worker, tmp_reporter = Ractor.select(*workers) } "ok" -} unless yjit_enabled # flaky with YJIT https://github.com/ruby/ruby/actions/runs/3575374374/jobs/6011846425 +} assert_equal "ok", %q{ def foo(*); ->{ super }; end |