Skip to content

Apache Lucene open-source search software

since we raised the session timeout, this needs to be willing to poll longer

Mark Robert Miller87182914a334
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 887c8f2e6ad..d55ed7ec9f0 100644
--- a/solr/core/src/test/org/apache/solr/cloud/LeaderElectionIntegrationTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/LeaderElectionIntegrationTest.java
@@ -191,7 +191,7 @@ public class LeaderElectionIntegrationTest extends SolrTestCaseJ4 {
int newLeaderPort = getLeaderPort(leader);
int retry = 0;
while (leaderPort == newLeaderPort) {
- if (retry++ == 20) {
+ if (retry++ == 60) {
break;
}
Thread.sleep(1000);