fix test OOM problems

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1137477 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2011-06-20 02:06:16 +00:00
parent df18530cbd
commit aaaaa42d54
1 changed files with 1 additions and 1 deletions

View File

@ -617,7 +617,7 @@ public class TestPhraseQuery extends LuceneTestCase {
int NUM_DOCS = atLeast(10);
for (int i = 0; i < NUM_DOCS; i++) {
// must be > 4096 so it spans multiple chunks
int termCount = atLeast(5000);
int termCount = _TestUtil.nextInt(random, 4097, 8200);
List<String> doc = new ArrayList<String>();