SOLR-5608: Raise wait for leader timeout from 1000 to 15000

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559609 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2014-01-19 23:48:36 +00:00
parent 1a715dd4d6
commit 4ee5920ba2
1 changed files with 3 additions and 3 deletions

View File

@ -362,10 +362,10 @@ public class CollectionsAPIDistributedZkTest extends AbstractFullDistribZkTestBa
String baseUrl = getBaseUrl((HttpSolrServer) clients.get(0));
// now try to remove a collection when a couple of it's nodes are down
if (secondConfigSet) {
createCollection(null, "halfdeletedcollection2", 3, 2, 6,
createCollection(null, "halfdeletedcollection2", 3, 3, 6,
createNewSolrServer("", baseUrl), null, "conf2");
} else {
createCollection(null, "halfdeletedcollection2", 3, 2, 6,
createCollection(null, "halfdeletedcollection2", 3, 3, 6,
createNewSolrServer("", baseUrl), null);
}
@ -377,7 +377,7 @@ public class CollectionsAPIDistributedZkTest extends AbstractFullDistribZkTestBa
// wait for leaders to settle out
for (int i = 1; i < 4; i++) {
cloudClient.getZkStateReader().getLeaderRetry("halfdeletedcollection2", "shard" + i);
cloudClient.getZkStateReader().getLeaderRetry("halfdeletedcollection2", "shard" + i, 15000);
}
baseUrl = getBaseUrl((HttpSolrServer) clients.get(2));