mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-07 21:48:39 +00:00
Some of the non java clients don't return the body on an ignore: 404 so we must use catch missing instead. Original commit: elastic/x-pack-elasticsearch@a10582691c
14 lines
256 B
YAML
14 lines
256 B
YAML
---
|
|
"Test get watch api with missing watch":
|
|
- do:
|
|
cluster.health:
|
|
wait_for_status: green
|
|
|
|
|
|
- do:
|
|
catch: missing
|
|
watcher.get_watch:
|
|
id: "missing_watch"
|
|
- match: { found : false}
|
|
- match: { _id: "missing_watch" }
|