mirror of https://github.com/apache/lucene.git
SOLR-13454: Investigate ReindexCollectionTest failures. I missed a place where I should have called the bandaid code
This commit is contained in:
parent
6069ef6ca6
commit
0aaf543208
|
@ -385,6 +385,9 @@ public class ReindexCollectionTest extends SolrCloudTestCase {
|
|||
solrClient.commit(collection);
|
||||
// verify the docs exist
|
||||
QueryResponse rsp = solrClient.query(collection, params(CommonParams.Q, "*:*"));
|
||||
SolrTestCaseJ4.Solr11035BandAid(solrClient, collection, "id", NUM_DOCS, "*:*",
|
||||
"ReindexCollectionTest.indexDocs", true);
|
||||
|
||||
assertEquals("num docs", NUM_DOCS, rsp.getResults().getNumFound());
|
||||
|
||||
}
|
||||
|
|
|
@ -3083,7 +3083,7 @@ public abstract class SolrTestCaseJ4 extends SolrTestCase {
|
|||
log.error("Dumping response" + rsp.toString());
|
||||
assertEquals("Solr11035BandAid failed, counts differ after updates:", found, expectedDocCount);
|
||||
} else if (failAnyway) {
|
||||
fail("failAnyway == true, would have successfully repaired the collection: '" + collection
|
||||
fail("Solr11035BandAid failAnyway == true, would have successfully repaired the collection: '" + collection
|
||||
+ "' extra info: '" + tag + "'");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue