From 1e5ce76902174d7319b20e7e9e68335323c02d89 Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Wed, 20 Feb 2013 21:29:44 +0000 Subject: [PATCH] tests: raise timeout git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1448426 13f79535-47bb-0310-9956-ffa450edef68 --- .../test/org/apache/solr/cloud/UnloadDistributedZkTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solr/core/src/test/org/apache/solr/cloud/UnloadDistributedZkTest.java b/solr/core/src/test/org/apache/solr/cloud/UnloadDistributedZkTest.java index 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 shard Slice 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"); }