Skip to content

Commit

Permalink
#764: Increase number of iterations to make the test more reliable
Browse files Browse the repository at this point in the history
  • Loading branch information
laingsimon committed May 21, 2024
1 parent 6cbdec0 commit f6b1740
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CourageScores.Tests/Models/Adapters/Game/GameAdapterTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ private async Task RunRandomiseSinglesTest(bool randomiseOrderOfSingles)
Matches = Enumerable.Range(1, 8).Select(CreateMatch).ToList(),
};

for (var iteration = 1; iteration <= 10; iteration++)
for (var iteration = 1; iteration <= 20; iteration++)
{
try
{
Expand All @@ -559,7 +559,7 @@ private async Task RunRandomiseSinglesTest(bool randomiseOrderOfSingles)
}
catch (AssertionException)
{
if (iteration >= 10)
if (iteration >= 20)
{
throw;
}
Expand Down

0 comments on commit f6b1740

Please sign in to comment.