From 4fd914a81ada8437f8d17da3ae7aac3dfae1fbe2 Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Sun, 23 Feb 2014 01:43:37 +0000 Subject: [PATCH] tests: harden against slow envs git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1570946 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/org/apache/solr/cloud/BasicDistributedZkTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solr/core/src/test/org/apache/solr/cloud/BasicDistributedZkTest.java b/solr/core/src/test/org/apache/solr/cloud/BasicDistributedZkTest.java index 45845af56db..94005fdc34c 100644 --- a/solr/core/src/test/org/apache/solr/cloud/BasicDistributedZkTest.java +++ b/solr/core/src/test/org/apache/solr/cloud/BasicDistributedZkTest.java @@ -342,7 +342,7 @@ public class BasicDistributedZkTest extends AbstractFullDistribZkTestBase { params.set("commitWithin", 10); add(cloudClient, params , getDoc("id", 300)); - long timeout = System.currentTimeMillis() + 15000; + long timeout = System.currentTimeMillis() + 30000; while (cloudClient.query(new SolrQuery("*:*")).getResults().getNumFound() != before + 1) { if (timeout <= System.currentTimeMillis()) { fail("commitWithin did not work");