Skip to content

Apache Lucene open-source search software

tests: harden

Mark Robert Miller3cc191964524
diff --git a/solr/core/src/test/org/apache/solr/cloud/UnloadDistributedZkTest.java b/solr/core/src/test/org/apache/solr/cloud/UnloadDistributedZkTest.java
index 68a765b8e19..965d98e370e 100644
--- a/solr/core/src/test/org/apache/solr/cloud/UnloadDistributedZkTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/UnloadDistributedZkTest.java
@@ -109,6 +109,9 @@ public class UnloadDistributedZkTest extends BasicDistributedZkTest {
createCmd.setDataDir(coreDataDir);
server.request(createCmd);
+
+ // does not mean they are active and up yet :*
+ waitForRecoveriesToFinish(collection, false);
// now unload one of the two
Unload unloadCmd = new Unload(false);