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:
Robert Muir 2011-04-28 13:05:51 +00:00
commit e02fe6ebb0
1 changed files with 2 additions and 2 deletions

View File

@ -771,11 +771,11 @@ public class TestAddIndexes extends LuceneTestCase {
c.joinThreads();
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);
assertTrue(c.failures.size() == 0);
assertTrue("found unexpected failures: " + c.failures, c.failures.isEmpty());
_TestUtil.checkIndex(c.dir2);