Skip to content

Commit 3f61f61

Browse files
committed
Relax threshold in GC Regressions test
Fixes dotnet#103494
1 parent d38e559 commit 3f61f61

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)