[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
|
@Test
|
||||||
public void deleteNonExistentIndexWarmerTest() {
|
public void deleteNonExistentIndexWarmerTest() {
|
||||||
createIndex("test");
|
createIndex("test");
|
||||||
|
|
||||||
try {
|
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");
|
fail("warmer foo should not exist");
|
||||||
} catch (IndexWarmerMissingException ex) {
|
} catch (IndexWarmerMissingException ex) {
|
||||||
assertThat(ex.names()[0], equalTo("foo"));
|
assertThat(ex.names()[0], equalTo("foo"));
|
||||||
|
|
Loading…
Reference in New Issue