diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2020-05-22 11:09:08 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2020-05-22 11:12:40 +0900 |
commit | 74cd607ca049cdcd7a42f2d42398ef8b4d7d71fc (patch) | |
tree | 9543f3c043a093bdc2e507a62c27332fe7f6a000 /test/ruby/test_gc.rb | |
parent | 79d9528ddca1dfe2dd99287dc88fd7c2b30f7137 (diff) |
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.
```
Diffstat (limited to 'test/ruby/test_gc.rb')
-rw-r--r-- | test/ruby/test_gc.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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) |