зеркало из https://github.com/github/ruby.git
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:
Родитель
9d4266fd55
Коммит
9e56a22be6
|
@ -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{
|
||||
|
|
Загрузка…
Ссылка в новой задаче