소스 검색

Fix ILM start and stop doc tests (#46559)

This uses whatever the server retrieves, rather than hardcoded
"STOPPING" and "STOPPED" since the server may go to STOPPED before the
request is issued.

Resolves #46528
Lee Hinman 6 년 전
부모
커밋
58a66e96b1
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      docs/reference/ilm/start-stop-ilm.asciidoc

+ 2 - 1
docs/reference/ilm/start-stop-ilm.asciidoc

@@ -107,7 +107,7 @@ GET _ilm/status
   "operation_mode": "STOPPING"
 }
 --------------------------------------------------
-// TESTRESPONSE[skip:"AwaitsFix https://github.com/elastic/elasticsearch/issues/46528"]
+// TESTRESPONSE[s/"STOPPING"/$body.operation_mode/]
 
 The ILM service will then, asynchronously, run all policies to a point
 where it is safe to stop. After ILM verifies that it is safe, it will
@@ -129,6 +129,7 @@ GET _ilm/status
   "operation_mode": "STOPPED"
 }
 --------------------------------------------------
+// TESTRESPONSE[s/"STOPPED"/$body.operation_mode/]
 
 [float]
 === Starting ILM