[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.
This commit is contained in:
Lee Hinman 2016-03-04 08:23:26 -07:00
parent 22557621fe
commit 809bb9e5a1
1 changed files with 1 additions and 1 deletions

View File

@ -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();