diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index 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 Fixes diff --git a/solr/core/src/test/org/apache/solr/cloud/BaseCdcrDistributedZkTest.java b/solr/core/src/test/org/apache/solr/cloud/BaseCdcrDistributedZkTest.java index 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 later this.deleteCollection(temporaryCollection); this.waitForCollectionToDisappear(temporaryCollection);