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:
Mark Robert Miller 2012-12-14 00:22:22 +00:00
parent 7486aad798
commit 8295491e12
1 changed files with 1 additions and 1 deletions

View File

@ -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);