From 165291a23c4ca7a98b01ac6118da8b0d35c52376 Mon Sep 17 00:00:00 2001 From: Chris Earle Date: Tue, 18 Apr 2017 15:57:52 -0400 Subject: [PATCH] Check for specific watch in watch test Original commit: elastic/x-pack-elasticsearch@e778f147148affe635a234038d3b6e7796f35e1f --- .../resources/rest-api-spec/test/watcher/ack_watch/10_basic.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/10_basic.yaml b/plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/10_basic.yaml index 4df12f5e09c..aa1ac99a3dd 100644 --- a/plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/10_basic.yaml +++ b/plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/10_basic.yaml @@ -48,6 +48,7 @@ - do: search: index: .watches + body: { "query": { "term": { "_id": "my_watch" } } } - match: { hits.total: 1 } - match: { hits.hits.0._source._status.actions.test_index.ack.state: "awaits_successful_execution" }