diff options
author | Jun Aruga <[email protected]> | 2021-05-25 10:28:18 +0200 |
---|---|---|
committer | Jun Aruga <[email protected]> | 2021-05-25 12:38:05 +0200 |
commit | 9e56a22be6706c8698268d5ebe4f59960d3485b1 (patch) | |
tree | debf61f90b7061dbfe9a2e2765178c2b2387b8f9 | |
parent | 9d4266fd5555c9c4388e2e8592008d0e0d8ccf21 (diff) |
bootstraptest/test_ractor.rb: Skip an assertion on Travis arm64.
Skip the assertion to test the `Ractor.select` from multiple ractors that rarely
fails on Travis arm64.
See <https://bugs.ruby-lang.org/issues/17878>.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4518
-rw-r--r-- | bootstraptest/test_ractor.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bootstraptest/test_ractor.rb b/bootstraptest/test_ractor.rb index 6299b50e3b..7e77dfcec1 100644 --- a/bootstraptest/test_ractor.rb +++ b/bootstraptest/test_ractor.rb @@ -248,7 +248,8 @@ assert_equal 30.times.map { 'ok' }.to_s, %q{ 30.times.map{|i| test i } -} unless ENV['RUN_OPTS'] =~ /--jit-min-calls=5/ # This always fails with --jit-wait --jit-min-calls=5 +} unless ENV['RUN_OPTS'] =~ /--jit-min-calls=5/ || # This always fails with --jit-wait --jit-min-calls=5 + (ENV.key?('TRAVIS') && ENV['TRAVIS_CPU_ARCH'] == 'arm64') # https://bugs.ruby-lang.org/issues/17878 # Exception for empty select assert_match /specify at least one ractor/, %q{ |