From 3f61f6103f9fcd70ed641461535ea09c310dae0e Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Mon, 24 Jun 2024 06:51:17 -0700 Subject: [PATCH] Relax threshold in GC Regressions test Fixes #103494 --- src/tests/GC/Regressions/v2.0-beta2/452950/452950.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/GC/Regressions/v2.0-beta2/452950/452950.cs b/src/tests/GC/Regressions/v2.0-beta2/452950/452950.cs index 88632d862a58c..2c2272ace012a 100644 --- a/src/tests/GC/Regressions/v2.0-beta2/452950/452950.cs +++ b/src/tests/GC/Regressions/v2.0-beta2/452950/452950.cs @@ -39,8 +39,8 @@ public static int Main(string[] args) int gcCount = GC.CollectionCount(GC.MaxGeneration); Console.WriteLine(gcCount); - // if we do a full collection <= (5% of the interations) times, we pass - if (gcCount <= (numIterations*0.05)) + // if we do a full collection <= (10% of the interations) times, we pass + if (gcCount <= (numIterations*0.1)) { Console.WriteLine("Passed"); return 100;