소스 검색

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.
Gordon Brown 6 년 전
부모
커밋
c0482b3343
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      client/rest-high-level/src/test/java/org/elasticsearch/client/documentation/ILMDocumentationIT.java

+ 1 - 1
client/rest-high-level/src/test/java/org/elasticsearch/client/documentation/ILMDocumentationIT.java

@@ -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