harden test

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424582 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2012-12-20 16:41:36 +00:00
parent 430b975221
commit 7a354cb5d0
1 changed files with 4 additions and 0 deletions

View File

@ -325,6 +325,10 @@ public class BasicDistributedZk2Test extends AbstractFullDistribZkTestBase {
// make sure we have published we are recovering
Thread.sleep(1500);
waitForThingsToLevelOut(15);
Thread.sleep(500);
waitForRecoveriesToFinish(false);
checkShardConsistency(true, false);