소스 검색

Fix reindex yaml test (#126942) (#126959)

Reindex task may not have completed by time status is called, so remove assertion that relies on this. Following assertions are set in the action which starts task, so will be correct whether or not task has completed.
Parker Timmins 5 달 전
부모
커밋
6f3ab09ee2
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/migrate/20_reindex_status.yml

+ 0 - 1
x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/migrate/20_reindex_status.yml

@@ -60,7 +60,6 @@ setup:
   - do:
       indices.get_migrate_reindex_status:
         index: "my-data-stream"
-  - match: { complete: true }
   - match: { total_indices_in_data_stream: 1 }
   - match: { total_indices_requiring_upgrade: 0 }
   - match: { successes: 0 }