summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-12-12 23:24:07 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2023-12-12 23:24:19 -0800
commit20a09387d163b6d4ec77d1859f1cac480991ce9e (patch)
treee7e87e546e4ad7c16d3e4b6c9438f69b30b40905 /test/ruby
parentf49097c84281b41aa581d9f89fec48dd77877c00 (diff)
Skip a GC test for RJIT
It randomly fails like this: https://github.com/ruby/ruby/actions/runs/7191443542/job/19586164973
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_gc.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb
index 78bf9deb6b..5111b05001 100644
--- a/test/ruby/test_gc.rb
+++ b/test/ruby/test_gc.rb
@@ -178,6 +178,7 @@ class TestGc < Test::Unit::TestCase
end
def test_stat_heap_all
+ omit "flaky with RJIT, which allocates objects itself" if defined?(RubyVM::RJIT) && RubyVM::RJIT.enabled?
stat_heap_all = {}
stat_heap = {}