TestPointValues only index 300k docs in NIGHTLY configuration, that is too much locally

This commit is contained in:
Robert Muir 2020-01-22 10:27:15 -05:00
parent b7694535eb
commit 8fd3fbd93c
No known key found for this signature in database
GPG Key ID: 817AE1DD322D7ECA
1 changed files with 2 additions and 1 deletions

View File

@ -492,7 +492,8 @@ public class TestPointValues extends LuceneTestCase {
IndexWriter w = new IndexWriter(dir, iwc);
Document doc = new Document();
doc.add(new IntPoint("int", 17));
for(int i=0;i<300000;i++) {
int numDocs = TEST_NIGHTLY ? 300000 : 3000;
for(int i=0;i<numDocs;i++) {
w.addDocument(doc);
if (random().nextInt(1000) == 17) {
w.commit();