Skip to content

Apache Lucene open-source search software

disable multiplier to prevent test from OOM'ing until its more ram efficient

Robert Muirc81d882c5b3a
diff --git a/lucene/core/src/test/org/apache/lucene/index/TestPostingsFormat.java b/lucene/core/src/test/org/apache/lucene/index/TestPostingsFormat.java
index 9bc540fcc1e..0b322058eb7 100644
--- a/lucene/core/src/test/org/apache/lucene/index/TestPostingsFormat.java
+++ b/lucene/core/src/test/org/apache/lucene/index/TestPostingsFormat.java
@@ -196,7 +196,8 @@ public class TestPostingsFormat extends LuceneTestCase {
term = "low_" + term;
}
- numDocs *= RANDOM_MULTIPLIER;
+ // TODO: reduce the ram usage of this test so we can safely do this
+ // numDocs *= RANDOM_MULTIPLIER;
List<Posting> termPostings = new ArrayList<Posting>();
postings.put(new BytesRef(term), termPostings);