From 7fb1f772060b7a8fa41cd813425d1b4fd611cee6 Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Thu, 14 Jan 2016 14:40:01 +0000 Subject: [PATCH] SOLR-8547: Raise time we will wait for recoveries to finish from 30 to 45 seconds. git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724622 13f79535-47bb-0310-9956-ffa450edef68 --- .../solr/cloud/DistribDocExpirationUpdateProcessorTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/solr/core/src/test/org/apache/solr/cloud/DistribDocExpirationUpdateProcessorTest.java b/solr/core/src/test/org/apache/solr/cloud/DistribDocExpirationUpdateProcessorTest.java index fb4179390e9..6be317fd0d9 100644 --- a/solr/core/src/test/org/apache/solr/cloud/DistribDocExpirationUpdateProcessorTest.java +++ b/solr/core/src/test/org/apache/solr/cloud/DistribDocExpirationUpdateProcessorTest.java @@ -70,7 +70,7 @@ public class DistribDocExpirationUpdateProcessorTest extends AbstractFullDistrib indexDoc(sdoc("id", i)); } commit(); - waitForThingsToLevelOut(30); + waitForRecoveriesToFinish(false, 45); // this doc better not already exist waitForNoResults(0, params("q","id:999","rows","0","_trace","sanity_check")); @@ -89,7 +89,6 @@ public class DistribDocExpirationUpdateProcessorTest extends AbstractFullDistrib waitForNoResults(180, params("q","id:999","rows","0","_trace","did_it_expire_yet")); // verify only one shard changed - waitForThingsToLevelOut(30); final Map finalIndexVersions = getIndexVersionOfAllReplicas(); assertEquals("WTF? not same num versions?", initIndexVersions.size(),