Apache Lucene open-source search software
SOLR-4601: clean up test
Mark Robert Millerd2275c31455f
diff --git a/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java b/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.javaindex 2fbbdda7b7b..78a963f290a 100644--- a/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java+++ b/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java@@ -163,9 +163,6 @@ public class CollectionsAPIDistributedZkTest extends AbstractFullDistribZkTestBacreateCmd.setDataDir(dataDir);createCmd.setNumShards(2);createNewSolrServer("", baseUrl).request(createCmd);-- printLayout();-ModifiableSolrParams params = new ModifiableSolrParams();params.set("action", CollectionAction.DELETE.toString());@@ -175,14 +172,9 @@ public class CollectionsAPIDistributedZkTest extends AbstractFullDistribZkTestBaNamedList<Object> resp = createNewSolrServer("", baseUrl).request(request);-- Thread.sleep(5000);-- printLayout();-+ checkForMissingCollection(collectionName);// now creating that collection should work- // try a bad actionparams = new ModifiableSolrParams();params.set("action", CollectionAction.CREATE.toString());params.set("name", collectionName);