Skip to content

Commit

Permalink
Fixing a simulate ingest yaml rest test (elastic#112686)
Browse files Browse the repository at this point in the history
  • Loading branch information
masseyke authored Sep 10, 2024
1 parent c2de4b7 commit 66303ab
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 @@ -154,9 +154,6 @@ tests:
issue: https://github.com/elastic/elasticsearch/issues/112471
- class: org.elasticsearch.ingest.geoip.IngestGeoIpClientYamlTestSuiteIT
issue: https://github.com/elastic/elasticsearch/issues/111497
- class: org.elasticsearch.smoketest.SmokeTestIngestWithAllDepsClientYamlTestSuiteIT
method: test {yaml=ingest/80_ingest_simulate/Test ingest simulate with reroute and mapping validation from templates}
issue: https://github.com/elastic/elasticsearch/issues/112575
- class: org.elasticsearch.script.mustache.LangMustacheClientYamlTestSuiteIT
method: test {yaml=lang_mustache/50_multi_search_template/Multi-search template with errors}
issue: https://github.com/elastic/elasticsearch/issues/112580
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,9 @@ setup:
"Test ingest simulate with reroute and mapping validation from templates":

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

- requires:
cluster_features: ["simulate.mapping.validation.templates"]
Expand All @@ -241,6 +243,8 @@ setup:
- match: { acknowledged: true }

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

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

0 comments on commit 66303ab

Please sign in to comment.