From 5007bf7aa041ce344ec042d9960b5e76afdcbaf6 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Mon, 31 Mar 2014 13:53:38 +0200 Subject: [PATCH] [Test] remove timeout from deleteWarmer call with many shards that might just take a while --- .../elasticsearch/indices/warmer/SimpleIndicesWarmerTests.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/java/org/elasticsearch/indices/warmer/SimpleIndicesWarmerTests.java b/src/test/java/org/elasticsearch/indices/warmer/SimpleIndicesWarmerTests.java index 6a4a431608c..7efad115c51 100644 --- a/src/test/java/org/elasticsearch/indices/warmer/SimpleIndicesWarmerTests.java +++ b/src/test/java/org/elasticsearch/indices/warmer/SimpleIndicesWarmerTests.java @@ -164,9 +164,8 @@ public class SimpleIndicesWarmerTests extends ElasticsearchIntegrationTest { @Test public void deleteNonExistentIndexWarmerTest() { createIndex("test"); - try { - client().admin().indices().prepareDeleteWarmer().setIndices("test").setNames("foo").execute().actionGet(1000); + client().admin().indices().prepareDeleteWarmer().setIndices("test").setNames("foo").execute().actionGet(); fail("warmer foo should not exist"); } catch (IndexWarmerMissingException ex) { assertThat(ex.names()[0], equalTo("foo"));