mirror of https://github.com/apache/lucene.git
tests: try waiting for collection first
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459596 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f6fa8c215d
commit
a5fd71f0ee
|
@ -183,6 +183,7 @@ public class BasicDistributedZk2Test extends AbstractFullDistribZkTestBase {
|
|||
fail(e.getMessage());
|
||||
}
|
||||
|
||||
waitForCollection(cloudClient.getZkStateReader(), ONE_NODE_COLLECTION, 1);
|
||||
waitForRecoveriesToFinish(ONE_NODE_COLLECTION, cloudClient.getZkStateReader(), false);
|
||||
|
||||
cloudClient.getZkStateReader().getLeaderRetry(ONE_NODE_COLLECTION, "shard1", 30000);
|
||||
|
|
Loading…
Reference in New Issue