From 4e13bfe43868cbd4fe59a7c34ac5274c82328164 Mon Sep 17 00:00:00 2001 From: gaobinlong Date: Fri, 9 Aug 2024 20:01:35 +0800 Subject: [PATCH] Fix flaky test in {yaml=ingest/70_bulk} (#15172) Signed-off-by: Gao Binlong --- .../resources/rest-api-spec/test/ingest/70_bulk.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/ingest-common/src/yamlRestTest/resources/rest-api-spec/test/ingest/70_bulk.yml b/modules/ingest-common/src/yamlRestTest/resources/rest-api-spec/test/ingest/70_bulk.yml index 47cc80d6df310..ecd56ea7f277e 100644 --- a/modules/ingest-common/src/yamlRestTest/resources/rest-api-spec/test/ingest/70_bulk.yml +++ b/modules/ingest-common/src/yamlRestTest/resources/rest-api-spec/test/ingest/70_bulk.yml @@ -178,7 +178,10 @@ teardown: - skip: version: " - 2.15.99" reason: "fixed in 2.16.0" + features: allowed_warnings - do: + allowed_warnings: + - "index template [test_for_bulk_upsert_index_template] has index patterns [test_bulk_upsert_*] matching patterns from existing older templates [global] with patterns (global => [*]); this template [test_for_bulk_upsert_index_template] will take precedence during new index creation" indices.put_index_template: name: test_for_bulk_upsert_index_template body: