Skip too-complex-shape test which is always flaky regardless JIT

This commit is contained in:
Nobuyoshi Nakada 2023-05-21 16:44:10 +09:00
parent 64e156f20c
commit 4f4bc13eb9
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6

View File

@ -291,9 +291,7 @@ class TestObjSpace < Test::Unit::TestCase
class TooComplex; end
def test_dump_too_complex_shape
%i[YJIT RJIT].each do |jit|
omit "flaky with #{jit}" if RubyVM.const_defined?(jit) && RubyVM.const_get(jit).enabled?
end
omit "flaky test"
RubyVM::Shape::SHAPE_MAX_VARIATIONS.times do
TooComplex.new.instance_variable_set(:"@a#{_1}", 1)