Apache Solr open-source search software
re-enable accidentally turned off test evilness
Mike McCandless56ca641b5b50
diff --git a/lucene/core/src/test/org/apache/lucene/index/TestPointValues.java b/lucene/core/src/test/org/apache/lucene/index/TestPointValues.javaindex 09462349115..49cbc2a6d7b 100644--- a/lucene/core/src/test/org/apache/lucene/index/TestPointValues.java+++ b/lucene/core/src/test/org/apache/lucene/index/TestPointValues.java@@ -501,7 +501,7 @@ public class TestPointValues extends LuceneTestCase {doc.add(new IntPoint("int", 17));for(int i=0;i<300000;i++) {w.addDocument(doc);- if (false && random().nextInt(1000) == 17) {+ if (random().nextInt(1000) == 17) {w.commit();}}