diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/get_watch/20_missing.yaml b/plugin/src/test/resources/rest-api-spec/test/watcher/get_watch/20_missing.yaml index a357a903e43..f2b99e52439 100644 --- a/plugin/src/test/resources/rest-api-spec/test/watcher/get_watch/20_missing.yaml +++ b/plugin/src/test/resources/rest-api-spec/test/watcher/get_watch/20_missing.yaml @@ -4,9 +4,12 @@ cluster.health: wait_for_status: yellow + # ensure index exists, but ignore if it does already + # this test should ensure the watch is missing, while the index is there - do: indices.create: index: .watches + ignore: 400 - do: catch: missing