Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

also raise this test timeout

Mark Robert Miller9415095fc73d
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 2db00c71556..d7a5bf1674a 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 < 30; j++) {
+ for (int j = 0; j < 60; j++) {
String currentLeader = getLeader();
if(!leader.equals(currentLeader)) {
break;