Apache Lucene open-source search software
LUCENE-6271: remove leftover nocommit in TestCodecs
Ryan Ernst7bcfa3af9aec
diff --git a/lucene/core/src/test/org/apache/lucene/index/TestCodecs.java b/lucene/core/src/test/org/apache/lucene/index/TestCodecs.javaindex dafe4dd7083..81d8e7aecf6 100644--- a/lucene/core/src/test/org/apache/lucene/index/TestCodecs.java+++ b/lucene/core/src/test/org/apache/lucene/index/TestCodecs.java@@ -495,7 +495,6 @@ public class TestCodecs extends LuceneTestCase {}assertEquals(term.docs[upto2], doc);if (!field.omitTF) {- // nocommit: asking for freq() here, but above when field.omitTF == false, PostingsEnum.NONE flag is passed?assertEquals(term.positions[upto2].length, postings.freq());if (random().nextInt(2) == 1) {this.verifyPositions(term.positions[upto2], postings);