[TEST] Allow more warnings about multiple template matches (#56085)
Adds some extra allowed warnings about multiple index templates matching on index creation of the same type that were added in #56038.
This commit is contained in:
parent
3a64ecb6bf
commit
31e32aa420
|
@ -4,6 +4,7 @@
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 6.6.99"
|
version: " - 6.6.99"
|
||||||
reason: Merging typeless/typed mappings/templates was added in 6.7
|
reason: Merging typeless/typed mappings/templates was added in 6.7
|
||||||
|
features: allowed_warnings
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
indices.put_template:
|
indices.put_template:
|
||||||
|
@ -18,6 +19,8 @@
|
||||||
type: keyword
|
type: keyword
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
|
allowed_warnings:
|
||||||
|
- "index [test-1] matches multiple v1 templates [global, test_template], v2 index templates will only match a single index template"
|
||||||
indices.create:
|
indices.create:
|
||||||
index: test-1
|
index: test-1
|
||||||
body:
|
body:
|
||||||
|
@ -42,6 +45,7 @@
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 6.6.99"
|
version: " - 6.6.99"
|
||||||
reason: Merging typeless/typed mappings/templates was added in 6.7
|
reason: Merging typeless/typed mappings/templates was added in 6.7
|
||||||
|
features: allowed_warnings
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
indices.put_template:
|
indices.put_template:
|
||||||
|
@ -55,6 +59,8 @@
|
||||||
type: keyword
|
type: keyword
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
|
allowed_warnings:
|
||||||
|
- "index [test-1] matches multiple v1 templates [global, test_template], v2 index templates will only match a single index template"
|
||||||
indices.create:
|
indices.create:
|
||||||
include_type_name: true
|
include_type_name: true
|
||||||
index: test-1
|
index: test-1
|
||||||
|
@ -106,6 +112,7 @@
|
||||||
- skip:
|
- skip:
|
||||||
version: " - 6.99.99"
|
version: " - 6.99.99"
|
||||||
reason: needs typeless index operations to work on typed indices
|
reason: needs typeless index operations to work on typed indices
|
||||||
|
features: allowed_warnings
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
indices.put_template:
|
indices.put_template:
|
||||||
|
@ -120,6 +127,8 @@
|
||||||
type: keyword
|
type: keyword
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
|
allowed_warnings:
|
||||||
|
- "index [test-1] matches multiple v1 templates [global, test_template], v2 index templates will only match a single index template"
|
||||||
index:
|
index:
|
||||||
index: test-1
|
index: test-1
|
||||||
body: { bar: 42 }
|
body: { bar: 42 }
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
---
|
---
|
||||||
"Test upgraded > 7.7 cluster with pre-7.8 and 7.8+ geo_shape fields":
|
"Test upgraded > 7.7 cluster with pre-7.8 and 7.8+ geo_shape fields":
|
||||||
|
- skip:
|
||||||
|
features: allowed_warnings
|
||||||
- do:
|
- do:
|
||||||
|
allowed_warnings:
|
||||||
|
- "index [new_locations] matches multiple v1 templates [global, template], v2 index templates will only match a single index template"
|
||||||
indices.create:
|
indices.create:
|
||||||
index: new_locations
|
index: new_locations
|
||||||
body:
|
body:
|
||||||
|
|
|
@ -8,7 +8,11 @@ setup:
|
||||||
|
|
||||||
---
|
---
|
||||||
"Test old and mixed cluster datafeeds without aggs":
|
"Test old and mixed cluster datafeeds without aggs":
|
||||||
|
- skip:
|
||||||
|
features: allowed_warnings
|
||||||
- do:
|
- do:
|
||||||
|
allowed_warnings:
|
||||||
|
- "index [airline-data] matches multiple v1 templates [global, template], v2 index templates will only match a single index template"
|
||||||
indices.create:
|
indices.create:
|
||||||
index: airline-data
|
index: airline-data
|
||||||
body:
|
body:
|
||||||
|
@ -108,6 +112,8 @@ setup:
|
||||||
- skip:
|
- skip:
|
||||||
features: allowed_warnings
|
features: allowed_warnings
|
||||||
- do:
|
- do:
|
||||||
|
allowed_warnings:
|
||||||
|
- "index [airline-data] matches multiple v1 templates [global, template], v2 index templates will only match a single index template"
|
||||||
indices.create:
|
indices.create:
|
||||||
index: airline-data
|
index: airline-data
|
||||||
body:
|
body:
|
||||||
|
|
Loading…
Reference in New Issue