poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiwiwi...@apache.org
Subject svn commit: r1831127 - /poi/trunk/src/testcases/org/apache/poi/util/TestIOUtils.java
Date Mon, 07 May 2018 20:50:33 GMT
Author: kiwiwings
Date: Mon May  7 20:50:32 2018
New Revision: 1831127

URL: http://svn.apache.org/viewvc?rev=1831127&view=rev
Log:
Random test value/file length resulted in occasionally failures

Modified:
    poi/trunk/src/testcases/org/apache/poi/util/TestIOUtils.java

Modified: poi/trunk/src/testcases/org/apache/poi/util/TestIOUtils.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/util/TestIOUtils.java?rev=1831127&r1=1831126&r2=1831127&view=diff
==============================================================================
--- poi/trunk/src/testcases/org/apache/poi/util/TestIOUtils.java (original)
+++ poi/trunk/src/testcases/org/apache/poi/util/TestIOUtils.java Mon May  7 20:50:32 2018
@@ -44,7 +44,7 @@ import org.junit.Test;
 public final class TestIOUtils {
 
     static File TMP;
-    static final long LENGTH = new Random().nextInt(10000);
+    static final long LENGTH = 300+new Random().nextInt(9000);
 
     @BeforeClass
     public static void setUp() throws IOException {



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message