Skip too-complex-shape test which is always flaky regardless JIT
This commit is contained in:
parent
64e156f20c
commit
4f4bc13eb9
@ -291,9 +291,7 @@ class TestObjSpace < Test::Unit::TestCase
|
|||||||
class TooComplex; end
|
class TooComplex; end
|
||||||
|
|
||||||
def test_dump_too_complex_shape
|
def test_dump_too_complex_shape
|
||||||
%i[YJIT RJIT].each do |jit|
|
omit "flaky test"
|
||||||
omit "flaky with #{jit}" if RubyVM.const_defined?(jit) && RubyVM.const_get(jit).enabled?
|
|
||||||
end
|
|
||||||
|
|
||||||
RubyVM::Shape::SHAPE_MAX_VARIATIONS.times do
|
RubyVM::Shape::SHAPE_MAX_VARIATIONS.times do
|
||||||
TooComplex.new.instance_variable_set(:"@a#{_1}", 1)
|
TooComplex.new.instance_variable_set(:"@a#{_1}", 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user