This is an automated email from the ASF dual-hosted git repository.

houston pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new 3a579df8861 SOLR-17860: Fix flaky 
TestDistribDocBasedVersion.testPullReplica
3a579df8861 is described below

commit 3a579df886173668ae34e9d958cb075b9a1b0516
Author: Houston Putman <hous...@apache.org>
AuthorDate: Wed Aug 27 12:50:08 2025 -0700

    SOLR-17860: Fix flaky TestDistribDocBasedVersion.testPullReplica
    
    (cherry picked from commit a31193d37c59c52fe2335b43b6e0eadbe019e63e)
---
 solr/core/src/test/org/apache/solr/cloud/TestDistribDocBasedVersion.java | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/solr/core/src/test/org/apache/solr/cloud/TestDistribDocBasedVersion.java 
b/solr/core/src/test/org/apache/solr/cloud/TestDistribDocBasedVersion.java
index 2efdb51ccde..e3bcfe7b998 100644
--- a/solr/core/src/test/org/apache/solr/cloud/TestDistribDocBasedVersion.java
+++ b/solr/core/src/test/org/apache/solr/cloud/TestDistribDocBasedVersion.java
@@ -123,6 +123,7 @@ public class TestDistribDocBasedVersion extends 
AbstractFullDistribZkTestBase {
               .getCollection(DEFAULT_COLLECTION)
               .getSlice("shard1")
               .getReplicas(r -> r.getType().equals(Replica.Type.PULL));
+      waitForRecoveriesToFinish(DEFAULT_COLLECTION, true);
       for (Replica replica : pullReplicas) {
         CollectionAdminRequest.deleteReplica(DEFAULT_COLLECTION, "shard1", 
replica.getName())
             .process(cloudClient);

Reply via email to