This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git


The following commit(s) were added to refs/heads/master by this push:
     new cc8a4b16d Try to eliminate random failures which did happen on GH with 
a 100 limit
cc8a4b16d is described below

commit cc8a4b16d386d3afe3c7fecede9e1b52ab65a96f
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Jul 2 15:57:36 2023 -0400

    Try to eliminate random failures which did happen on GH with a 100 limit
---
 src/test/java/org/apache/commons/lang3/RandomStringUtilsTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/lang3/RandomStringUtilsTest.java 
b/src/test/java/org/apache/commons/lang3/RandomStringUtilsTest.java
index 81ac519e0..9d1c2aed3 100644
--- a/src/test/java/org/apache/commons/lang3/RandomStringUtilsTest.java
+++ b/src/test/java/org/apache/commons/lang3/RandomStringUtilsTest.java
@@ -264,7 +264,7 @@ public class RandomStringUtilsTest extends AbstractLangTest 
{
     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) {

Reply via email to