Skip to content

Commit acd0c68

Browse files
committed
Relax the flaky test threshold on RHEL 10.0 x86_64
1 parent 0d4538b commit acd0c68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ruby/test_gc_compact.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def test_moving_arrays_up_heaps
324324
}.resume
325325
326326
stats = GC.verify_compaction_references(expand_heap: true, toward: :empty)
327-
assert_operator(stats.dig(:moved_up, :T_ARRAY) || 0, :>=, ARY_COUNT - 15)
327+
assert_operator(stats.dig(:moved_up, :T_ARRAY) || 0, :>=, (0.9995 * ARY_COUNT).to_i)
328328
refute_empty($arys.keep_if { |o| ObjectSpace.dump(o).include?('"embedded":true') })
329329
end;
330330
end

0 commit comments

Comments
 (0)