Check for specific watch in watch test
Original commit: elastic/x-pack-elasticsearch@e778f14714
This commit is contained in:
parent
178d259315
commit
165291a23c
|
@ -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" }
|
||||
|
||||
|
|
Loading…
Reference in New Issue