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

skip Ractor tests on Compiler tests

This implementation has memory corruption errors so and
it causes BUG on rare occasions. This commit skips
suspect tests on Github actions Compiler tests.
This commit is contained in:
Koichi Sasada 2020-09-03 18:04:36 +09:00
parent 79df14c04b
commit b52513e2a1
Notes: git 2020-09-03 21:11:33 +09:00

View file

@ -17,7 +17,6 @@ assert_equal "must be called with a block", %q{
end end
} }
# A return value of a Ractor block will be a message from the Ractor. # A return value of a Ractor block will be a message from the Ractor.
assert_equal 'ok', %q{ assert_equal 'ok', %q{
# join # join
@ -55,6 +54,12 @@ assert_equal 'ok', %q{
r.take r.take
} }
###
###
# Ractor still has several memory corruption so skip huge number of tests
return if ENV['GITHUB_WORKFLOW'] &&
ENV['GITHUB_WORKFLOW'] == 'Compilations'
# Ractor.select(*ractors) receives a values from a ractors. # Ractor.select(*ractors) receives a values from a ractors.
# It is similar to select(2) and Go's select syntax. # It is similar to select(2) and Go's select syntax.
# The return value is [ch, received_value] # The return value is [ch, received_value]