[Test] remove timeout from deleteWarmer call with many shards that might just take a while

This commit is contained in:
Simon Willnauer 2014-03-31 13:53:38 +02:00
parent c11293ad78
commit 5007bf7aa0
1 changed files with 1 additions and 2 deletions

View File

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