Skip to content

Commit d66b54f

Browse files
authored
Fixing ingest simulate yaml rest test when global legacy template is present (#115586) (#115595)
Sometimes the test framework adds a global legacy template. When this happens, a test that is using another legacy template to create an index emits a warning since the index matches two legacy templates. This PR allows that warning.
1 parent a614517 commit d66b54f

File tree

1 file changed

+2
-0
lines changed
  • qa/smoke-test-ingest-with-all-dependencies/src/yamlRestTest/resources/rest-api-spec/test/ingest

1 file changed

+2
-0
lines changed

qa/smoke-test-ingest-with-all-dependencies/src/yamlRestTest/resources/rest-api-spec/test/ingest/80_ingest_simulate.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1537,6 +1537,8 @@ setup:
15371537
- not_exists: docs.0.doc.error
15381538

15391539
- do:
1540+
allowed_warnings:
1541+
- "index [foo-1] matches multiple legacy templates [global, my-legacy-template], composable templates will only match a single template"
15401542
indices.create:
15411543
index: foo-1
15421544
- match: { acknowledged: true }

0 commit comments

Comments
 (0)