Increase timeout in ILM doc test slightly (#48606)

This assertBusy can occasionally time out on systems under heavy load,
such as CI, so this commit increases the timeout.
This commit is contained in:
Gordon Brown 2019-10-29 11:12:41 -07:00 committed by GitHub
parent 8b22e297ed
commit 4bd514715d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -633,7 +633,7 @@ public class ILMDocumentationIT extends ESRestHighLevelClientTestCase {
client.indices().create(createIndexRequest, RequestOptions.DEFAULT);
assertBusy(() -> assertNotNull(client.indexLifecycle()
.explainLifecycle(new ExplainLifecycleRequest("my_index"), RequestOptions.DEFAULT)
.getIndexResponses().get("my_index").getFailedStep()));
.getIndexResponses().get("my_index").getFailedStep()), 15, TimeUnit.SECONDS);
}
// tag::ilm-retry-lifecycle-policy-request