[REST-TEST] Use catch: missing instead of ignore: 404

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
This commit is contained in:
Brian Murphy 2015-05-08 10:11:43 -04:00
parent 3289ee9029
commit 8bc238e10a
1 changed files with 1 additions and 2 deletions

View File

@ -6,9 +6,8 @@
- do:
catch: missing
watcher.get_watch:
id: "missing_watch"
ignore: 404
- match: { found : false}
- match: { _id: "missing_watch" }