mirror of https://github.com/apache/lucene.git
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:
parent
4ed87ec42f
commit
c8888cd115
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue