tests: raise timeout - trips sometimes

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650905 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2015-01-11 15:33:23 +00:00
parent 4ed87ec42f
commit c8888cd115
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ public class BasicDistributedZkTest extends AbstractFullDistribZkTestBase {
params.set("commitWithin", 10);
add(cloudClient, params , getDoc("id", 300));
long timeout = System.currentTimeMillis() + 30000;
long timeout = System.currentTimeMillis() + 45000;
while (cloudClient.query(new SolrQuery("*:*")).getResults().getNumFound() != before + 1) {
if (timeout <= System.currentTimeMillis()) {
fail("commitWithin did not work");