Skip to content

Commit

Permalink
Relax threshold in GC Regressions test (#103898)
Browse files Browse the repository at this point in the history
Fixes #103494
  • Loading branch information
jkotas authored Jun 24, 2024
1 parent e1efa6b commit 8d6e07d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/GC/Regressions/v2.0-beta2/452950/452950.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8d6e07d

Please sign in to comment.