Skip to content

Commit

Permalink
Merge pull request #129 from AArnott/stableTesting
Browse files Browse the repository at this point in the history
Allow more collisions in random testing input generation
  • Loading branch information
AArnott authored Jan 12, 2025
2 parents d0c85e8 + 561f89f commit 4f1a750
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ private object[] GenerateValues()
collisionCount++;
}

if (collisionCount > collisionChecker.Count * 5)
if (collisionCount > collisionChecker.Count * 5 && collisionCount > 1000)
{
// We have collided in random values far more than we have successfully generated values.
// Rather than spin in this loop, throw.
Expand Down

0 comments on commit 4f1a750

Please sign in to comment.