mirror of https://github.com/apache/lucene.git
fix false test failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1151422 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8baef1613f
commit
0dc4c9582f
|
@ -1045,7 +1045,7 @@ public class TestIndexWriterDelete extends LuceneTestCase {
|
|||
setRAMBufferSizeMB(0.5).setMaxBufferedDocs(-1).setMergePolicy(NoMergePolicy.NO_COMPOUND_FILES).setReaderPooling(false)) {
|
||||
@Override
|
||||
public void doAfterFlush() {
|
||||
assertTrue("only " + docsInSegment.get() + " in segment", closing.get() || docsInSegment.get() >= 10);
|
||||
assertTrue("only " + docsInSegment.get() + " in segment", closing.get() || docsInSegment.get() >= 7);
|
||||
docsInSegment.set(0);
|
||||
sawAfterFlush.set(true);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue