Skip to content

Commit

Permalink
Add allowed warning for index template creation (#112600)
Browse files Browse the repository at this point in the history
Follow-up of #111161

Fixes #112597
  • Loading branch information
nielsbauman committed Sep 7, 2024
1 parent 602e60b commit 64694e3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 0 additions & 3 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,6 @@ tests:
- class: org.elasticsearch.xpack.security.authc.kerberos.SimpleKdcLdapServerTests
method: testClientServiceMutualAuthentication
issue: https://github.com/elastic/elasticsearch/issues/112529
- class: org.elasticsearch.xpack.security.CoreWithSecurityClientYamlTestSuiteIT
method: test {yaml=simulate.ingest/10_basic/Test mapping validation from templates}
issue: https://github.com/elastic/elasticsearch/issues/112597
- class: org.elasticsearch.search.basic.SearchWhileRelocatingIT
method: testSearchAndRelocateConcurrentlyRandomReplicas
issue: https://github.com/elastic/elasticsearch/issues/112515
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,9 @@ setup:
"Test mapping validation from templates":

- skip:
features: headers
features:
- headers
- allowed_warnings

- requires:
cluster_features: ["simulate.mapping.validation.templates"]
Expand All @@ -279,6 +281,8 @@ setup:
type: text

- do:
allowed_warnings:
- "index template [v2_template] has index patterns [v2_strict_nonexistent*] matching patterns from existing older templates [global] with patterns (global => [*]); this template [v2_template] will take precedence during new index creation"
indices.put_index_template:
name: v2_template
body:
Expand All @@ -291,6 +295,8 @@ setup:
type: text

- do:
allowed_warnings:
- "index template [v2_hidden_template] has index patterns [v2_strict_hidden_nonexistent*] matching patterns from existing older templates [global] with patterns (global => [*]); this template [v2_hidden_template] will take precedence during new index creation"
indices.put_index_template:
name: v2_hidden_template
body:
Expand Down

0 comments on commit 64694e3

Please sign in to comment.