SOLR-3080: I saw this fail few times, increase sleep time

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293116 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sami Siren 2012-02-24 07:31:08 +00:00
parent effbca10e2
commit 61387fe283
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ public class ZkControllerTest extends SolrTestCaseJ4 {
assertNotNull("New leader was null.",
reader.getLeaderUrl("collection1", "shard1", 15000));
Thread.sleep(1000);
Thread.sleep(2000);
assertEquals("shard was not unregistered", 1, zkController.getZkStateReader().getCloudState().getSlice("collection1", "shard1").getShards().size());
} finally {
if (DEBUG) {