Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

boost this test poll timeout just a bit more

Mark Robert Millerb0ea2de37d3a
diff --git a/solr/core/src/test/org/apache/solr/cloud/LeaderElectionIntegrationTest.java b/solr/core/src/test/org/apache/solr/cloud/LeaderElectionIntegrationTest.java
index d7a5bf1674a..c3af99d0a0b 100644
--- a/solr/core/src/test/org/apache/solr/cloud/LeaderElectionIntegrationTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/LeaderElectionIntegrationTest.java
@@ -150,7 +150,7 @@ public class LeaderElectionIntegrationTest extends SolrTestCaseJ4 {
//printLayout(zkServer.getZkAddress());
// poll until leader change is visible
- for (int j = 0; j < 60; j++) {
+ for (int j = 0; j < 75; j++) {
String currentLeader = getLeader();
if(!leader.equals(currentLeader)) {
break;