Skip to content

Commit 69bf501

Browse files
Fix example system pipeline plugin flaky index template YAML test (#18500) (#18504)
(cherry picked from commit ec5adda) Signed-off-by: Andy Qin <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 18ae617 commit 69bf501

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

plugins/examples/system-ingest-processor/src/yamlRestTest/resources/rest-api-spec/test/example-system-ingest-processor/20_system_ingest_processor.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ teardown:
5353
- is_false: _source.field_auto_added_by_system_ingest_processor
5454
---
5555
"Processor injects field when index is created from matching template":
56+
- skip:
57+
features: allowed_warnings
5658
- do:
5759
indices.put_template:
5860
name: example-template
@@ -63,6 +65,8 @@ teardown:
6365
system_ingest_processor_trigger_field:
6466
type: keyword
6567
- do:
68+
allowed_warnings:
69+
- "index [template-index-1] matches multiple legacy templates [example-template, global], composable templates will only match a single template"
6670
index:
6771
index: template-index-1
6872
id: 1

0 commit comments

Comments
 (0)