mirror of https://github.com/apache/lucene.git
extra insurance that recovery has started or occurred in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421613 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ead809a5ff
commit
7486aad798
|
@ -82,6 +82,9 @@ public class RecoveryZkTest extends AbstractFullDistribZkTestBase {
|
|||
indexThread.join();
|
||||
indexThread2.join();
|
||||
|
||||
Thread.sleep(500);
|
||||
waitForRecoveriesToFinish(DEFAULT_COLLECTION, zkStateReader, false, true);
|
||||
|
||||
commit();
|
||||
|
||||
// test that leader and replica have same doc count
|
||||
|
|
Loading…
Reference in New Issue