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>.
This commit is contained in:
Jun Aruga 2021-05-25 10:28:18 +02:00 коммит произвёл Jun Aruga
Родитель 9d4266fd55
Коммит 9e56a22be6
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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{