]> source.dussan.org Git - poi.git/commitdiff
Random test value/file length resulted in occasionally failures
authorAndreas Beeker <kiwiwings@apache.org>
Mon, 7 May 2018 20:50:32 +0000 (20:50 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Mon, 7 May 2018 20:50:32 +0000 (20:50 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1831127 13f79535-47bb-0310-9956-ffa450edef68

src/testcases/org/apache/poi/util/TestIOUtils.java

index b3ebeac4ff981cc7668e878e587e7e82bd4c9989..0acef2fa7d2ddcd93306a851bcb4982515edf17c 100644 (file)
@@ -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 {