From 809bb9e5a11750bfe586b878fdcf48e983449cfb Mon Sep 17 00:00:00 2001 From: Lee Hinman Date: Fri, 4 Mar 2016 08:23:26 -0700 Subject: [PATCH] [TEST] Increase timeout for awaiting alias & document creation Test waits 10 seconds for all 10 aliases and documents to be created, but it can take longer that that on slower machines. --- .../src/test/java/org/elasticsearch/aliases/IndexAliasesIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/test/java/org/elasticsearch/aliases/IndexAliasesIT.java b/core/src/test/java/org/elasticsearch/aliases/IndexAliasesIT.java index 0846e0710a3..2cc8f852760 100644 --- a/core/src/test/java/org/elasticsearch/aliases/IndexAliasesIT.java +++ b/core/src/test/java/org/elasticsearch/aliases/IndexAliasesIT.java @@ -477,7 +477,7 @@ public class IndexAliasesIT extends ESIntegTestCase { }); } executor.shutdown(); - boolean done = executor.awaitTermination(10, TimeUnit.SECONDS); + boolean done = executor.awaitTermination(20, TimeUnit.SECONDS); assertThat(done, equalTo(true)); if (!done) { executor.shutdownNow();