From d6d5a49196575c8ada31a225a53f18bc4a614a8d Mon Sep 17 00:00:00 2001 From: Shalin Shekhar Mangar Date: Tue, 27 Jun 2017 13:18:03 +0530 Subject: [PATCH] SOLR-10272: Update tests to create collections with a specific configset name --- .../apache/solr/cloud/autoscaling/ComputePlanActionTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solr/core/src/test/org/apache/solr/cloud/autoscaling/ComputePlanActionTest.java b/solr/core/src/test/org/apache/solr/cloud/autoscaling/ComputePlanActionTest.java index 1ca5d4a970d..6deaa713b20 100644 --- a/solr/core/src/test/org/apache/solr/cloud/autoscaling/ComputePlanActionTest.java +++ b/solr/core/src/test/org/apache/solr/cloud/autoscaling/ComputePlanActionTest.java @@ -123,7 +123,7 @@ public class ComputePlanActionTest extends SolrCloudTestCase { assertEquals(response.get("result").toString(), "success"); CollectionAdminRequest.Create create = CollectionAdminRequest.createCollection("testNodeLost", - 1, 2); + "conf",1, 2); create.setMaxShardsPerNode(1); create.process(solrClient); @@ -181,7 +181,7 @@ public class ComputePlanActionTest extends SolrCloudTestCase { assertEquals(response.get("result").toString(), "success"); CollectionAdminRequest.Create create = CollectionAdminRequest.createCollection("testNodeAdded", - 1, 2); + "conf",1, 2); create.setMaxShardsPerNode(2); create.process(solrClient);