From f2492bb2e49767d0ee26d8e9fa3d61bf3e95c732 Mon Sep 17 00:00:00 2001 From: Parker Timmins Date: Wed, 16 Apr 2025 15:28:05 -0500 Subject: [PATCH] Fix reindex yaml test (#126942) 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. --- .../resources/rest-api-spec/test/migrate/20_reindex_status.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/migrate/20_reindex_status.yml b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/migrate/20_reindex_status.yml index 616d320ae7ffe..c67ad77a75077 100644 --- a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/migrate/20_reindex_status.yml +++ b/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 }