From 7a354cb5d05dcaa490bb440385725ede438cdb46 Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Thu, 20 Dec 2012 16:41:36 +0000 Subject: [PATCH] harden test git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424582 13f79535-47bb-0310-9956-ffa450edef68 --- .../test/org/apache/solr/cloud/BasicDistributedZk2Test.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/solr/core/src/test/org/apache/solr/cloud/BasicDistributedZk2Test.java b/solr/core/src/test/org/apache/solr/cloud/BasicDistributedZk2Test.java index fba1c467b42..89ed0abb7c0 100644 --- a/solr/core/src/test/org/apache/solr/cloud/BasicDistributedZk2Test.java +++ b/solr/core/src/test/org/apache/solr/cloud/BasicDistributedZk2Test.java @@ -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);