You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by tf...@apache.org on 2019/02/21 05:16:13 UTC

[lucene-solr] branch master updated: Fix TestPullReplica.testKillLeader

This is an automated email from the ASF dual-hosted git repository.

tflobbe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/master by this push:
     new 6e81def  Fix TestPullReplica.testKillLeader
6e81def is described below

commit 6e81def01c328cfdbff3efed930678397fee2d13
Author: Tomas Fernandez Lobbe <tf...@apache.org>
AuthorDate: Wed Feb 20 21:15:29 2019 -0800

    Fix TestPullReplica.testKillLeader
    
    Somewhere along the way, this was broken and since the test is being excluded, nobody noticed
---
 solr/core/src/test/org/apache/solr/cloud/TestPullReplica.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/core/src/test/org/apache/solr/cloud/TestPullReplica.java b/solr/core/src/test/org/apache/solr/cloud/TestPullReplica.java
index f90d0ad..bc58a46 100644
--- a/solr/core/src/test/org/apache/solr/cloud/TestPullReplica.java
+++ b/solr/core/src/test/org/apache/solr/cloud/TestPullReplica.java
@@ -472,7 +472,7 @@ public class TestPullReplica extends SolrCloudTestCase {
     if (removeReplica) {
       CollectionAdminRequest.addReplicaToShard(collectionName, "shard1", Replica.Type.NRT).process(cluster.getSolrClient());
     } else {
-      leaderJetty.stop();
+      leaderJetty.start();
     }
     waitForState("Expected collection to be 1x2", collectionName, clusterShape(1, 2));
     unIgnoreException("No registered leader was found"); // Should have a leader from now on