From 4d68c56a04ae93eae12cbc5c0fa27edcb3b91340 Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Mon, 20 Jun 2011 02:13:39 +0000 Subject: [PATCH] fix test OOM problems git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1137480 13f79535-47bb-0310-9956-ffa450edef68 --- lucene/src/test/org/apache/lucene/util/fst/TestFSTs.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lucene/src/test/org/apache/lucene/util/fst/TestFSTs.java b/lucene/src/test/org/apache/lucene/util/fst/TestFSTs.java index d4aacaacaa9..d1abb262252 100644 --- a/lucene/src/test/org/apache/lucene/util/fst/TestFSTs.java +++ b/lucene/src/test/org/apache/lucene/util/fst/TestFSTs.java @@ -963,7 +963,7 @@ public class TestFSTs extends LuceneTestCase { @Nightly public void testBigSet() throws IOException { - testRandomWords(atLeast(50000), atLeast(1)); + testRandomWords(_TestUtil.nextInt(random, 50000, 60000), atLeast(1)); } private static String inputToString(int inputMode, IntsRef term) {