Skip to content

Commit

Permalink
Make test search range higher
Browse files Browse the repository at this point in the history
  • Loading branch information
olsaarik committed Aug 24, 2022
1 parent db627c0 commit 8a3a702
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1300,7 +1300,7 @@ int IsCharsPerTimeoutCheck(int candidate, int dummy)
return 1;
}
}
int charsPerTimeoutCheck = Array.BinarySearch(Enumerable.Range(0, 2048).ToArray(), -1, Comparer<int>.Create(IsCharsPerTimeoutCheck));
int charsPerTimeoutCheck = Array.BinarySearch(Enumerable.Range(0, 16_000).ToArray(), -1, Comparer<int>.Create(IsCharsPerTimeoutCheck));
Assert.True(charsPerTimeoutCheck >= 0);

// Now that the limit is known, do the actual test
Expand Down

0 comments on commit 8a3a702

Please sign in to comment.