mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 06:16:40 +00:00
Correct expected warning in indices.create yml tests (#57409)
v2 index is now composable, v1 is now legacy
This commit is contained in:
parent
1f500583b1
commit
4d54bb3917
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
- do:
|
- do:
|
||||||
allowed_warnings:
|
allowed_warnings:
|
||||||
- "index [test-1] matches multiple v1 templates [global, test_template], v2 index templates will only match a single index template"
|
- "index [test-1] matches multiple legacy templates [global, test_template], composable templates will only match a single template"
|
||||||
indices.create:
|
indices.create:
|
||||||
index: test-1
|
index: test-1
|
||||||
body:
|
body:
|
||||||
@ -60,7 +60,7 @@
|
|||||||
|
|
||||||
- do:
|
- do:
|
||||||
allowed_warnings:
|
allowed_warnings:
|
||||||
- "index [test-1] matches multiple v1 templates [global, test_template], v2 index templates will only match a single index template"
|
- "index [test-1] matches multiple legacy templates [global, test_template], composable templates will only match a single template"
|
||||||
indices.create:
|
indices.create:
|
||||||
include_type_name: true
|
include_type_name: true
|
||||||
index: test-1
|
index: test-1
|
||||||
@ -128,7 +128,7 @@
|
|||||||
|
|
||||||
- do:
|
- do:
|
||||||
allowed_warnings:
|
allowed_warnings:
|
||||||
- "index [test-1] matches multiple v1 templates [global, test_template], v2 index templates will only match a single index template"
|
- "index [test-1] matches multiple legacy templates [global, test_template], composable templates will only match a single template"
|
||||||
index:
|
index:
|
||||||
index: test-1
|
index: test-1
|
||||||
body: { bar: 42 }
|
body: { bar: 42 }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user