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:
parent
7739aad1aa
commit
b1f8b75ac3
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue