mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-08 02:58:33 +00:00
Try to eliminate random failures which did happen on GH with a 100 limit
This commit is contained in:
parent
98ef0a4138
commit
cc8a4b16d3
@ -264,7 +264,7 @@ public void testRandomAlphabetic() {
|
||||
public void testRandomAscii() {
|
||||
final char[] testChars = {(char) 32, (char) 126};
|
||||
final boolean[] found = {false, false};
|
||||
for (int i = 0; i < 100; i++) {
|
||||
for (int i = 0; i < 1_000; i++) {
|
||||
final String randString = RandomStringUtils.randomAscii(10);
|
||||
for (int j = 0; j < testChars.length; j++) {
|
||||
if (randString.indexOf(testChars[j]) > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user