diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2026-01-11 14:51:49 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2026-01-11 14:51:49 +0900 |
| commit | acd0c68a074cd47fba486d4d77895e2709be873a (patch) | |
| tree | 0f2673f8d191f44111858871411ded3657a5674c /test | |
| parent | 0d4538b57d5f835af27d8d29464c32dbdf4593f3 (diff) | |
Relax the flaky test threshold on RHEL 10.0 x86_64
Diffstat (limited to 'test')
| -rw-r--r-- | test/ruby/test_gc_compact.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_gc_compact.rb b/test/ruby/test_gc_compact.rb index 84828d4985..7e0c499dd9 100644 --- a/test/ruby/test_gc_compact.rb +++ b/test/ruby/test_gc_compact.rb @@ -324,7 +324,7 @@ class TestGCCompact < Test::Unit::TestCase }.resume stats = GC.verify_compaction_references(expand_heap: true, toward: :empty) - assert_operator(stats.dig(:moved_up, :T_ARRAY) || 0, :>=, ARY_COUNT - 15) + assert_operator(stats.dig(:moved_up, :T_ARRAY) || 0, :>=, (0.9995 * ARY_COUNT).to_i) refute_empty($arys.keep_if { |o| ObjectSpace.dump(o).include?('"embedded":true') }) end; end |
