From 8fd3fbd93c1dfd9ba5c6d84feb8a57040b7e820e Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Wed, 22 Jan 2020 10:27:15 -0500 Subject: [PATCH] TestPointValues only index 300k docs in NIGHTLY configuration, that is too much locally --- .../core/src/test/org/apache/lucene/index/TestPointValues.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lucene/core/src/test/org/apache/lucene/index/TestPointValues.java b/lucene/core/src/test/org/apache/lucene/index/TestPointValues.java index c026ed9b7b3..e5cd4aecaee 100644 --- a/lucene/core/src/test/org/apache/lucene/index/TestPointValues.java +++ b/lucene/core/src/test/org/apache/lucene/index/TestPointValues.java @@ -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