[TEST] Test explicitly for the watch we're interested in
Original commit: elastic/x-pack-elasticsearch@71bd0aee7e
This commit is contained in:
parent
ac441fab57
commit
b1c0631e46
|
@ -52,6 +52,7 @@
|
|||
- do:
|
||||
search:
|
||||
index: .watches
|
||||
body: { "query": { "term": { "_id": "my_watch" } } }
|
||||
- match: { hits.total: 1 }
|
||||
- match: { hits.hits.0._source._status.state.active: false }
|
||||
|
||||
|
@ -71,6 +72,7 @@
|
|||
- do:
|
||||
search:
|
||||
index: .watches
|
||||
body: { "query": { "term": { "_id": "my_watch" } } }
|
||||
- match: { hits.total: 1 }
|
||||
- match: { hits.hits.0._source._status.state.active: true }
|
||||
|
||||
|
|
Loading…
Reference in New Issue