diff options
author | Peter Zhu <[email protected]> | 2023-09-04 14:01:33 -0400 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2023-09-04 14:01:33 -0400 |
commit | db3b814cb0ff6ffe83fe0c4f66cd6ce8951c3ca7 (patch) | |
tree | d547bec06631cd1f2d712e8fd01c6bd0bed05668 /test/ruby/test_process.rb | |
parent | 0b5c61494eb30c8c1867b9e6a52ad678e3f47901 (diff) |
Add debug info for flaky test_warmup_frees_pages
This test sometimes fails with:
```
1) Failure:
TestProcess#test_warmup_frees_pages [test/ruby/test_process.rb:2751]:
<0> expected but was
<1>.
```
I'm not sure why, so add some debug info.
Diffstat (limited to 'test/ruby/test_process.rb')
-rw-r--r-- | test/ruby/test_process.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 9cef299b66..d7910e5acf 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -2748,7 +2748,7 @@ EOS # Number of pages freed should cause equal increase in number of allocatable pages. assert_equal(total_pages_before, GC.stat(:heap_eden_pages) + GC.stat(:heap_allocatable_pages)) - assert_equal(0, GC.stat(:heap_tomb_pages)) + assert_equal(0, GC.stat(:heap_tomb_pages), GC.stat) assert_operator(GC.stat(:total_freed_pages), :>, 0) end; end |