Skip to content

Commit 8d6e07d

Browse files
authoredJun 24, 2024··
Relax threshold in GC Regressions test (#103898)
Fixes #103494
1 parent e1efa6b commit 8d6e07d

File tree

1 file changed

+2
-2
lines changed
  • src/tests/GC/Regressions/v2.0-beta2/452950

1 file changed

+2
-2
lines changed
 

‎src/tests/GC/Regressions/v2.0-beta2/452950/452950.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ public static int Main(string[] args)
3939
int gcCount = GC.CollectionCount(GC.MaxGeneration);
4040
Console.WriteLine(gcCount);
4141

42-
// if we do a full collection <= (5% of the interations) times, we pass
43-
if (gcCount <= (numIterations*0.05))
42+
// if we do a full collection <= (10% of the interations) times, we pass
43+
if (gcCount <= (numIterations*0.1))
4444
{
4545
Console.WriteLine("Passed");
4646
return 100;

0 commit comments

Comments
 (0)
Please sign in to comment.