Apache Lucene open-source search software
tests: raise timeout
Mark Robert Miller1e5ce7690217
diff --git a/solr/core/src/test/org/apache/solr/cloud/UnloadDistributedZkTest.java b/solr/core/src/test/org/apache/solr/cloud/UnloadDistributedZkTest.javaindex 7c55be19eec..acf7fb1742f 100644--- a/solr/core/src/test/org/apache/solr/cloud/UnloadDistributedZkTest.java+++ b/solr/core/src/test/org/apache/solr/cloud/UnloadDistributedZkTest.java@@ -113,14 +113,14 @@ public class UnloadDistributedZkTest extends BasicDistributedZkTest {// there should be only one shardSlice shard2 = getCommonCloudSolrServer().getZkStateReader().getClusterState().getSlice(collection, "shard2");- long timeoutAt = System.currentTimeMillis() + 30000;+ long timeoutAt = System.currentTimeMillis() + 45000;while (shard2 != null) {if (System.currentTimeMillis() > timeoutAt) {printLayout();fail("Still found shard");}- Thread.sleep(50);+ Thread.sleep(1000);shard2 = getCommonCloudSolrServer().getZkStateReader().getClusterState().getSlice(collection, "shard2");}