Skip to content

Apache Lucene open-source search software

boost how long we poll for this test

Mark Robert Miller8c0102e11a33
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 86bcd6db6de..2db00c71556 100644
--- a/solr/core/src/test/org/apache/solr/cloud/LeaderElectionIntegrationTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/LeaderElectionIntegrationTest.java
@@ -155,7 +155,7 @@ public class LeaderElectionIntegrationTest extends SolrTestCaseJ4 {
if(!leader.equals(currentLeader)) {
break;
}
- Thread.sleep(100);
+ Thread.sleep(500);
}
leader = getLeader();
@@ -231,7 +231,7 @@ public class LeaderElectionIntegrationTest extends SolrTestCaseJ4 {
} catch (KeeperException e) {
// ignore
}
- Thread.sleep(200);
+ Thread.sleep(500);
}
return leader;
}