Skip shrink ignores template mapping in BWC tests
This commit reverts some changes to the shrink API ignore template
mapping REST test in favor of simply skipping the test for BWC
purposes. The complexity here is due to deprecations and lacking the
infrastructure to gracefully handle a situation like this.
---
"Shrink index ignores target template mapping":
- skip:
- version: " - 6.0.99"
- reason: bug fixed in 5.6.0 but no way to expect warning for normal rest test but not for mixed cluster test
- features: "warnings"
+ version: " - 5.99.99"
+ reason: bug fixed in 5.6.0
- do:
cluster.state: {}
# create template matching shrink target
- do:
- warnings:
- - "Deprecated field [template] used, replaced by [index_patterns]"
indices.put_template:
name: tpl1
body:
- template: targ*
+ index_patterns: targ*
mappings:
test:
properties:
