Fix warnings in shrink ignore templates test

This commit fixes an issue with the REST test that the shrink API
ignores templates. The problem is that we have to use a BWC version of
the API (for the BWC tests) but this raises deprecation warnings. This
commit adds an expectation for these deprecation warnings.
This commit is contained in:
Jason Tedor 2017-07-17 18:25:37 +09:00
parent 7739aad1aa
commit b1f8b75ac3
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@
- skip:
version: " - 5.5.99"
reason: bug fixed in 5.6.0
features: "warnings"
- do:
cluster.state: {}
@ -36,6 +37,8 @@
# create template matching shrink target
- do:
warnings:
- "Deprecated field [template] used, replaced by [index_patterns]"
indices.put_template:
name: tpl1
body: