You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by no...@apache.org on 2022/10/25 07:25:20 UTC
[solr] branch main updated: SOLR-16440: hard coded shard name in test
This is an automated email from the ASF dual-hosted git repository.
noble pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new 19b816efc22 SOLR-16440: hard coded shard name in test
19b816efc22 is described below
commit 19b816efc22cc203df336ef7875275fcf784d5e5
Author: Noble Paul <no...@gmail.com>
AuthorDate: Tue Oct 25 18:25:10 2022 +1100
SOLR-16440: hard coded shard name in test
---
.../org/apache/solr/common/cloud/PerReplicaStatesIntegrationTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/solr/solrj/src/test/org/apache/solr/common/cloud/PerReplicaStatesIntegrationTest.java b/solr/solrj/src/test/org/apache/solr/common/cloud/PerReplicaStatesIntegrationTest.java
index f5371b50082..dbefce3a36b 100644
--- a/solr/solrj/src/test/org/apache/solr/common/cloud/PerReplicaStatesIntegrationTest.java
+++ b/solr/solrj/src/test/org/apache/solr/common/cloud/PerReplicaStatesIntegrationTest.java
@@ -87,7 +87,7 @@ public class PerReplicaStatesIntegrationTest extends SolrCloudTestCase {
// Test delete replica
Replica leader = c.getReplica((s, replica) -> replica.isLeader());
- CollectionAdminRequest.deleteReplica(testCollection, "shard1", leader.getName())
+ CollectionAdminRequest.deleteReplica(testCollection, leader.shard, leader.getName())
.process(cluster.getSolrClient());
cluster.waitForActiveCollection(testCollection, 2, 4);
prs =