[TEST] Test explicitly for the watch we're interested in
Original commit: elastic/x-pack-elasticsearch@71bd0aee7e7aeed54f1d256a5ca85c70692b607c
- do:
search:
index: .watches
+ body: { "query": { "term": { "_id": "my_watch" } } }
- match: { hits.total: 1 }
- match: { hits.hits.0._source._status.state.active: false }
- do:
search:
index: .watches
+ body: { "query": { "term": { "_id": "my_watch" } } }
- match: { hits.total: 1 }
- match: { hits.hits.0._source._status.state.active: true }
