From add3fdc50f8819795532b3313d7870e484c86fec Mon Sep 17 00:00:00 2001 From: Keith Massey Date: Wed, 11 Oct 2023 11:03:29 -0500 Subject: [PATCH] Allowing a warning in a 230_change_target_index yaml rest test (#100686) This adds an allowed warning when an index template is created in `Test Change Target Index with Default Pipeline`. This appears to happen more frequently now that we're running in the new test framework (https://github.com/elastic/elasticsearch/pull/100537). The index template creation was also just recently added in https://github.com/elastic/elasticsearch/pull/100540. Closes #100584 --- .../rest-api-spec/test/ingest/230_change_target_index.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/ingest-common/src/yamlRestTest/resources/rest-api-spec/test/ingest/230_change_target_index.yml b/modules/ingest-common/src/yamlRestTest/resources/rest-api-spec/test/ingest/230_change_target_index.yml index 0114484e723a..de0abb0ebedd 100644 --- a/modules/ingest-common/src/yamlRestTest/resources/rest-api-spec/test/ingest/230_change_target_index.yml +++ b/modules/ingest-common/src/yamlRestTest/resources/rest-api-spec/test/ingest/230_change_target_index.yml @@ -102,6 +102,8 @@ teardown: "Test Change Target Index with Default Pipeline": - do: + allowed_warnings: + - "index template [index_template] has index patterns [test] matching patterns from existing older templates [global] with patterns (global => [*]); this template [index_template] will take precedence during new index creation" indices.put_index_template: name: index_template body: