mirror of https://github.com/apache/lucene.git
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:
parent
df18530cbd
commit
aaaaa42d54
|
@ -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>();
|
||||
|
||||
|
|
Loading…
Reference in New Issue