1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Report a more detailed situation of test_ractor.rb:137

This test has been very unstable. I'd like to instantly know whether
it's always failing or random when I look at a CI failure output.
This commit is contained in:
Takashi Kokubun 2020-11-24 19:50:41 -08:00
parent 26e3aea94f
commit c6b7b4f6f4
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -134,7 +134,7 @@ assert_equal '["r1", "r2"]', %q{
}
# Ractor.select from multiple ractors.
assert_equal 'true', %q{
assert_equal 30.times.map { 'ok' }.to_s, %q{
def test n
rs = (1..n).map do |i|
Ractor.new(i) do |i|
@ -160,7 +160,7 @@ assert_equal 'true', %q{
30.times.map{|i|
test i
}.all?('ok')
}
}
# Outgoing port of a ractor will be closed when the Ractor is terminated.