LUCENE-7568: Fix test that should never create segments with a single document.

This commit is contained in:
Jim Ferenczi 2017-02-07 14:04:11 +01:00
parent 0d760aeddb
commit 37b75bef3f
1 changed files with 1 additions and 2 deletions

View File

@ -204,7 +204,7 @@ public class TestIndexSorting extends LuceneTestCase {
// segment sort is needed
codec.needsIndexSort = true;
codec.numCalls = 0;
for (int i = 200; i < 300; i++) {
for (int i = 201; i < 300; i++) {
Document doc = new Document();
doc.add(new StringField("id", Integer.toString(i), Store.YES));
doc.add(new NumericDocValuesField("id", i));
@ -1698,7 +1698,6 @@ public class TestIndexSorting extends LuceneTestCase {
dir.close();
}
// docvalues fields involved in the index sort cannot be updated
public void testBadDVUpdate() throws Exception {
Directory dir = newDirectory();