mirror of https://github.com/apache/lucene.git
merge trunk (r1097339)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/realtime_search@1097442 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
commit
e02fe6ebb0
|
@ -771,11 +771,11 @@ public class TestAddIndexes extends LuceneTestCase {
|
||||||
c.joinThreads();
|
c.joinThreads();
|
||||||
|
|
||||||
int expectedNumDocs = 100+NUM_COPY*(4*NUM_ITER/5)*RunAddIndexesThreads.NUM_THREADS*RunAddIndexesThreads.NUM_INIT_DOCS;
|
int expectedNumDocs = 100+NUM_COPY*(4*NUM_ITER/5)*RunAddIndexesThreads.NUM_THREADS*RunAddIndexesThreads.NUM_INIT_DOCS;
|
||||||
assertEquals(expectedNumDocs, c.writer2.numDocs());
|
assertEquals("expected num docs don't match - failures: " + c.failures, expectedNumDocs, c.writer2.numDocs());
|
||||||
|
|
||||||
c.close(true);
|
c.close(true);
|
||||||
|
|
||||||
assertTrue(c.failures.size() == 0);
|
assertTrue("found unexpected failures: " + c.failures, c.failures.isEmpty());
|
||||||
|
|
||||||
_TestUtil.checkIndex(c.dir2);
|
_TestUtil.checkIndex(c.dir2);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue