mirror of https://github.com/apache/lucene.git
LUCENE-10092: fix test bug by forceMerging the index down to one segment
This commit is contained in:
parent
7eb35be045
commit
ee0695eda8
|
@ -124,6 +124,7 @@ public class TestCheckIndex extends BaseTestCheckIndex {
|
|||
tombstone.add(new NumericDocValuesField("soft_delete", 1));
|
||||
w.softUpdateDocument(
|
||||
new Term("id", "1"), tombstone, new NumericDocValuesField("soft_delete", 1));
|
||||
w.forceMerge(1);
|
||||
}
|
||||
|
||||
ByteArrayOutputStream output = new ByteArrayOutputStream();
|
||||
|
|
Loading…
Reference in New Issue