Apache Solr open-source search software
TestPointValues only index 300k docs in NIGHTLY configuration, that is too much locally
Robert Muir8fd3fbd93c1d
diff --git a/lucene/core/src/test/org/apache/lucene/index/TestPointValues.java b/lucene/core/src/test/org/apache/lucene/index/TestPointValues.javaindex 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<numDocs;i++) {w.addDocument(doc);if (random().nextInt(1000) == 17) {w.commit();