mirror of
https://github.com/apache/lucene.git
synced 2025-02-09 03:25:15 +00:00
SOLR-13454: Investigate ReindexCollectionTest failures
This commit is contained in:
parent
0435348b29
commit
379e6f64b8
@ -140,7 +140,7 @@ public class ReindexCollectionTest extends SolrCloudTestCase {
|
|||||||
});
|
});
|
||||||
|
|
||||||
SolrTestCaseJ4.Solr11035BandAid(solrClient, targetCollection, "id", NUM_DOCS, "*:*",
|
SolrTestCaseJ4.Solr11035BandAid(solrClient, targetCollection, "id", NUM_DOCS, "*:*",
|
||||||
"ReindexCollectionTest.testBasicReindexing", true);
|
"ReindexCollectionTest.testBasicReindexing", false);
|
||||||
|
|
||||||
// verify the target docs exist
|
// verify the target docs exist
|
||||||
QueryResponse queryResponse = solrClient.query(targetCollection, params(CommonParams.Q, "*:*"));
|
QueryResponse queryResponse = solrClient.query(targetCollection, params(CommonParams.Q, "*:*"));
|
||||||
@ -181,7 +181,7 @@ public class ReindexCollectionTest extends SolrCloudTestCase {
|
|||||||
return ReindexCollectionCmd.State.FINISHED == state;
|
return ReindexCollectionCmd.State.FINISHED == state;
|
||||||
});
|
});
|
||||||
SolrTestCaseJ4.Solr11035BandAid(solrClient, targetCollection, "id", NUM_DOCS, "*:*",
|
SolrTestCaseJ4.Solr11035BandAid(solrClient, targetCollection, "id", NUM_DOCS, "*:*",
|
||||||
"ReindexCollectionTest.testSameTargetReindex", true);
|
"ReindexCollectionTest.testSameTargetReindex", false);
|
||||||
// verify the target docs exist
|
// verify the target docs exist
|
||||||
QueryResponse rsp = solrClient.query(targetCollection, params(CommonParams.Q, "*:*"));
|
QueryResponse rsp = solrClient.query(targetCollection, params(CommonParams.Q, "*:*"));
|
||||||
assertEquals("copied num docs", NUM_DOCS, rsp.getResults().getNumFound());
|
assertEquals("copied num docs", NUM_DOCS, rsp.getResults().getNumFound());
|
||||||
@ -211,7 +211,7 @@ public class ReindexCollectionTest extends SolrCloudTestCase {
|
|||||||
return ReindexCollectionCmd.State.FINISHED == state;
|
return ReindexCollectionCmd.State.FINISHED == state;
|
||||||
});
|
});
|
||||||
SolrTestCaseJ4.Solr11035BandAid(solrClient, targetCollection, "id", NUM_DOCS, "*:*",
|
SolrTestCaseJ4.Solr11035BandAid(solrClient, targetCollection, "id", NUM_DOCS, "*:*",
|
||||||
"ReindexCollectionTest.testLossyScherma", true);
|
"ReindexCollectionTest.testLossyScherma", false);
|
||||||
// verify the target docs exist
|
// verify the target docs exist
|
||||||
QueryResponse rsp = solrClient.query(targetCollection, params(CommonParams.Q, "*:*"));
|
QueryResponse rsp = solrClient.query(targetCollection, params(CommonParams.Q, "*:*"));
|
||||||
assertEquals("copied num docs", NUM_DOCS, rsp.getResults().getNumFound());
|
assertEquals("copied num docs", NUM_DOCS, rsp.getResults().getNumFound());
|
||||||
@ -248,7 +248,7 @@ public class ReindexCollectionTest extends SolrCloudTestCase {
|
|||||||
return ReindexCollectionCmd.State.FINISHED == state;
|
return ReindexCollectionCmd.State.FINISHED == state;
|
||||||
});
|
});
|
||||||
SolrTestCaseJ4.Solr11035BandAid(solrClient, targetCollection, "id", 11, "*:*",
|
SolrTestCaseJ4.Solr11035BandAid(solrClient, targetCollection, "id", 11, "*:*",
|
||||||
"ReindexCollectionTest.testReshapeReindexTarget", true);
|
"ReindexCollectionTest.testReshapeReindexTarget", false);
|
||||||
|
|
||||||
// verify the target docs exist
|
// verify the target docs exist
|
||||||
QueryResponse rsp = solrClient.query(targetCollection, params(CommonParams.Q, "*:*"));
|
QueryResponse rsp = solrClient.query(targetCollection, params(CommonParams.Q, "*:*"));
|
||||||
@ -385,7 +385,7 @@ public class ReindexCollectionTest extends SolrCloudTestCase {
|
|||||||
solrClient.add(collection, docs);
|
solrClient.add(collection, docs);
|
||||||
solrClient.commit(collection);
|
solrClient.commit(collection);
|
||||||
SolrTestCaseJ4.Solr11035BandAid(solrClient, collection, "id", NUM_DOCS, "*:*",
|
SolrTestCaseJ4.Solr11035BandAid(solrClient, collection, "id", NUM_DOCS, "*:*",
|
||||||
"ReindexCollectionTest.indexDocs", true);
|
"ReindexCollectionTest.indexDocs", false);
|
||||||
|
|
||||||
// verify the docs exist
|
// verify the docs exist
|
||||||
QueryResponse rsp = solrClient.query(collection, params(CommonParams.Q, "*:*"));
|
QueryResponse rsp = solrClient.query(collection, params(CommonParams.Q, "*:*"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user