mirror of
https://github.com/apache/lucene.git
synced 2025-03-04 23:39:38 +00:00
go back to only 4 terms to reduce OOME chance
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1391895 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
197d96548c
commit
f9c220b511
@ -184,7 +184,10 @@ public abstract class BasePostingsFormatTestCase extends LuceneTestCase {
|
||||
fields.put(field, postings);
|
||||
Set<String> seenTerms = new HashSet<String>();
|
||||
|
||||
final int numTerms = atLeast(10);
|
||||
// TODO:
|
||||
//final int numTerms = atLeast(10);
|
||||
final int numTerms = 4;
|
||||
|
||||
for(int termUpto=0;termUpto<numTerms;termUpto++) {
|
||||
String term = _TestUtil.randomSimpleString(random());
|
||||
if (seenTerms.contains(term)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user