SOLR-10272: Specify configset name while creating collections

This commit is contained in:
Shalin Shekhar Mangar 2017-06-27 14:25:48 +05:30
parent 4ae91b21e3
commit 6a1ddda025
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ public class AutoScalingHandlerTest extends SolrCloudTestCase {
public void testAutoAddReplicas() throws Exception {
String collection = "test-collection";
CollectionAdminRequest
.createCollection(collection, 1, 1)
.createCollection(collection, CONFIGSET_NAME,1, 1)
.setAutoAddReplicas(true)
.process(cluster.getSolrClient());
byte[] data = zkClient().getData(SOLR_AUTOSCALING_CONF_PATH, null, null, true);