Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-4765: The new Collections API test deleteCollectionWithDownNodes fails often with a server 500 error.

Mark Robert Millerf3feb297d607
diff --git a/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java b/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java
index 8e33311465b..6e86fcc2399 100644
--- a/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java
@@ -190,6 +190,8 @@ public class CollectionsAPIDistributedZkTest extends AbstractFullDistribZkTestBa
createCollection(null, "halfdeletedcollection2", 3, 2, 6,
createNewSolrServer("", baseUrl), null);
+ waitForRecoveriesToFinish("halfdeletedcollection2", false);
+
// stop a couple nodes
ChaosMonkey.stop(jettys.get(0));
ChaosMonkey.stop(jettys.get(1));