mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-24 17:09:48 +00:00
[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…
x
Reference in New Issue
Block a user