Only run the tests verifyin the overlapping index templates when there is no `global` index template (ie. when the default shards are not changed) (cherry picked from commit e256becad7650018ed6687d6f4ddba5e255f6b29) Signed-off-by: Andrei Dan <andrei.dan@elastic.co>
This commit is contained in:
parent
797f63e743
commit
c5b04311e0
|
@ -3,11 +3,9 @@
|
|||
- skip:
|
||||
version: " - 7.99.99"
|
||||
reason: "simulate index template API has not been backported"
|
||||
features: allowed_warnings
|
||||
features: ["default_shards"]
|
||||
|
||||
- do:
|
||||
allowed_warnings:
|
||||
- "index template [test] has index patterns [te*] matching patterns from existing older templates [global] with patterns (global => [*]); this template [test] will take precedence during new index creation"
|
||||
indices.put_index_template:
|
||||
name: test
|
||||
body:
|
||||
|
@ -35,11 +33,9 @@
|
|||
- skip:
|
||||
version: " - 7.99.99"
|
||||
reason: "simulate index template API has not been backported"
|
||||
features: allowed_warnings
|
||||
features: ["default_shards"]
|
||||
|
||||
- do:
|
||||
allowed_warnings:
|
||||
- "index template [test] has index patterns [te*] matching patterns from existing older templates [global] with patterns (global => [*]); this template [test] will take precedence during new index creation"
|
||||
indices.put_index_template:
|
||||
name: existing_test
|
||||
body:
|
||||
|
@ -122,7 +118,7 @@
|
|||
- skip:
|
||||
version: " - 7.99.99"
|
||||
reason: "simulate index template API has not been backported"
|
||||
features: allowed_warnings
|
||||
features: ["allowed_warnings", "default_shards"]
|
||||
|
||||
- do:
|
||||
indices.put_template:
|
||||
|
|
Loading…
Reference in New Issue