Skip to content

Commit 32dd728

Browse files
committed
[TEST] Allow more warnings about multiple template matches
Adds some extra allowed warnings about multiple index templates matching on index creation of the same type that were added in elastic#56038.
1 parent 2061652 commit 32dd728

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/110_geo_shape.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
---
22
"Test upgraded > 7.7 cluster with pre-7.8 and 7.8+ geo_shape fields":
3+
- skip:
4+
features: allowed_warnings
35
- do:
6+
allowed_warnings:
7+
- "index [new_locations] matches multiple v1 templates [global, template], v2 index templates will only match a single index template"
48
indices.create:
59
index: new_locations
610
body:

x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/40_ml_datafeed_crud.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ setup:
88

99
---
1010
"Test old and mixed cluster datafeeds without aggs":
11+
- skip:
12+
features: allowed_warnings
1113
- do:
14+
allowed_warnings:
15+
- "index [airline-data] matches multiple v1 templates [global, template], v2 index templates will only match a single index template"
1216
indices.create:
1317
index: airline-data
1418
body:
@@ -108,6 +112,8 @@ setup:
108112
- skip:
109113
features: allowed_warnings
110114
- do:
115+
allowed_warnings:
116+
- "index [airline-data] matches multiple v1 templates [global, template], v2 index templates will only match a single index template"
111117
indices.create:
112118
index: airline-data
113119
body:

0 commit comments

Comments
 (0)