Skip to content

Apache Lucene open-source search software

Fix assert

Shalin Shekhar Mangar06510acbaba9
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 5cfe96fc2ed..2712047854d 100644
--- a/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java
@@ -356,7 +356,7 @@ public class CollectionsAPIDistributedZkTest extends AbstractFullDistribZkTestBa
assertTrue(response.isSuccess());
coresStatus = response.getCollectionCoresStatus();
assertEquals(0, (int) coresStatus.get("conf1_shard1_0_replica1").get("status"));
- assertEquals(0, (int) coresStatus.get("conf1_shard1_0_replica1").get("status"));
+ assertEquals(0, (int) coresStatus.get("conf1_shard1_1_replica1").get("status"));
deleteCollectionRequest = new CollectionAdminRequest.Delete();
deleteCollectionRequest.setCollectionName("conf1");