From 4ee5920ba2195a6853ca7472a2ec5eb3c1729efb Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Sun, 19 Jan 2014 23:48:36 +0000 Subject: [PATCH] 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 --- .../apache/solr/cloud/CollectionsAPIDistributedZkTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java b/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java index 5a5d7e22ff6..c1d7e9163cd 100644 --- a/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java +++ b/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java @@ -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));