mirror of https://github.com/apache/lucene.git
raise tests timeout to 30s from 15s
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421625 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7486aad798
commit
8295491e12
|
@ -1133,7 +1133,7 @@ public class BasicDistributedZkTest extends AbstractFullDistribZkTestBase {
|
||||||
private void checkForMissingCollection(String collectionName)
|
private void checkForMissingCollection(String collectionName)
|
||||||
throws Exception {
|
throws Exception {
|
||||||
// check for a collection - we poll the state
|
// check for a collection - we poll the state
|
||||||
long timeoutAt = System.currentTimeMillis() + 15000;
|
long timeoutAt = System.currentTimeMillis() + 30000;
|
||||||
boolean found = true;
|
boolean found = true;
|
||||||
while (System.currentTimeMillis() < timeoutAt) {
|
while (System.currentTimeMillis() < timeoutAt) {
|
||||||
getCommonCloudSolrServer().getZkStateReader().updateClusterState(true);
|
getCommonCloudSolrServer().getZkStateReader().updateClusterState(true);
|
||||||
|
|
Loading…
Reference in New Issue