summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-05-19 11:32:39 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2023-05-19 11:33:19 +0900
commitb70e3f44c1d86fed92a63832fbf69a0764675ebb (patch)
treea5ffb01b8f72f0ddf19c2ff4deb553db04b91c86 /test
parentb54b388f2a03a2ce553f8c02648f113403deb245 (diff)
Skip test_dump_too_complex_shape for YJIT for now
It fails too often with YJIT: * https://github.com/ruby/ruby/actions/runs/5015976941/jobs/8992254690 * https://github.com/ruby/ruby/actions/runs/5017310353/jobs/8995281395 * https://github.com/ruby/ruby/actions/runs/5019625711/jobs/9000322487 * https://github.com/ruby/ruby/actions/runs/5019883965/jobs/9000836915 ref: https://github.com/ruby/ruby/pull/7646
Diffstat (limited to 'test')
-rw-r--r--test/objspace/test_objspace.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/objspace/test_objspace.rb b/test/objspace/test_objspace.rb
index 4d8adba5e8..7752ff73c1 100644
--- a/test/objspace/test_objspace.rb
+++ b/test/objspace/test_objspace.rb
@@ -300,6 +300,7 @@ class TestObjSpace < Test::Unit::TestCase
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?
assert_match(/"too_complex_shape":true/, info)
if defined?(JSON)
assert_true(JSON.parse(info)["too_complex_shape"])