mirror of https://github.com/apache/lucene.git
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:
parent
1a715dd4d6
commit
4ee5920ba2
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue