[Test] remove timeout from deleteWarmer call with many shards that might just take a while
This commit is contained in:
parent
c11293ad78
commit
5007bf7aa0
|
@ -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"));
|
||||
|
|
Loading…
Reference in New Issue