mirror of https://github.com/apache/lucene.git
attempt to harden test for apache jenkins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423953 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6f875e270f
commit
0cc46b3cae
|
@ -83,9 +83,12 @@ public class RecoveryZkTest extends AbstractFullDistribZkTestBase {
|
|||
indexThread2.join();
|
||||
|
||||
Thread.sleep(500);
|
||||
waitForRecoveriesToFinish(DEFAULT_COLLECTION, zkStateReader, false, true);
|
||||
|
||||
commit();
|
||||
waitForThingsToLevelOut(30);
|
||||
|
||||
Thread.sleep(1000);
|
||||
|
||||
waitForRecoveriesToFinish(DEFAULT_COLLECTION, zkStateReader, false, true);
|
||||
|
||||
// test that leader and replica have same doc count
|
||||
|
||||
|
|
Loading…
Reference in New Issue