From 74cd607ca049cdcd7a42f2d42398ef8b4d7d71fc Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Fri, 22 May 2020 11:09:08 +0900 Subject: Run major GC three times to make sure the minor GC reason Same as 02705b27be207fce57bd0253251f81108c7ed57b http://ci.rvm.jp/results/trunk-random1@phosphorus-docker/2955433 ``` 1) TestGc#test_start_full_mark [/tmp/ruby/v3/src/trunk-random1/test/ruby/test_gc.rb:61]: Expected :oldmalloc to be nil. ``` --- test/ruby/test_gc.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb index 53777c61a8..f18cd60ba5 100644 --- a/test/ruby/test_gc.rb +++ b/test/ruby/test_gc.rb @@ -56,7 +56,7 @@ class TestGc < Test::Unit::TestCase return unless use_rgengc? skip 'stress' if GC.stress - GC.start # full mark and next time it should be minor mark + 3.times { GC.start } # full mark and next time it should be minor mark GC.start(full_mark: false) assert_nil GC.latest_gc_info(:major_by) -- cgit v1.2.3