Skip to content

Commit

Permalink
The too-complex test isn't stablefor RJIT either
Browse files Browse the repository at this point in the history
  • Loading branch information
k0kubun committed May 19, 2023
1 parent b70e3f4 commit 875adad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/objspace/test_objspace.rb
Expand Up @@ -300,7 +300,8 @@ def test_dump_too_complex_shape
assert_not_match(/"too_complex_shape"/, info)
tc.instance_variable_set(:@new_ivar, 1)
info = ObjectSpace.dump(tc)
omit 'too flaky with YJIT' if defined?(RubyVM::YJIT) && RubyVM::YJIT.enabled?
omit 'flaky with YJIT' if defined?(RubyVM::YJIT) && RubyVM::YJIT.enabled?
omit 'flaky with RJIT' if defined?(RubyVM::RJIT) && RubyVM::RJIT.enabled?
assert_match(/"too_complex_shape":true/, info)
if defined?(JSON)
assert_true(JSON.parse(info)["too_complex_shape"])
Expand Down

0 comments on commit 875adad

Please sign in to comment.