Apache Lucene open-source search software
SOLR-9639: CDCR Tests only fix. Wait until recovery is over before remove the tmp_colletion.
Mikhail Khludnev47446733884e
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex 7124d403e17..328077861a6 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -271,6 +271,8 @@ Other Changes* SOLR-9610: New AssertTool in SolrCLI for easier cross platform assertions from command line (janhoy)+* SOLR-9639: Test only fix. Prevent CDCR tests from removing collection during recovery that used to blow up jvm (Mikhail Khludnev)+================== 6.2.1 ==================Bug Fixesdiff --git a/solr/core/src/test/org/apache/solr/cloud/BaseCdcrDistributedZkTest.java b/solr/core/src/test/org/apache/solr/cloud/BaseCdcrDistributedZkTest.javaindex 3d758e046fe..35cc44476ea 100644--- a/solr/core/src/test/org/apache/solr/cloud/BaseCdcrDistributedZkTest.java+++ b/solr/core/src/test/org/apache/solr/cloud/BaseCdcrDistributedZkTest.java@@ -593,6 +593,7 @@ public class BaseCdcrDistributedZkTest extends AbstractDistribZkTestBase {}}+ this.waitForRecoveriesToFinish(temporaryCollection,zkStateReader, true);// delete the temporary collection - we will create our own collections laterthis.deleteCollection(temporaryCollection);this.waitForCollectionToDisappear(temporaryCollection);