Skip to content

Commit 66303ab

Browse files
authored
Fixing a simulate ingest yaml rest test (#112686)
1 parent c2de4b7 commit 66303ab

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,6 @@ tests:
154154
issue: https://github.com/elastic/elasticsearch/issues/112471
155155
- class: org.elasticsearch.ingest.geoip.IngestGeoIpClientYamlTestSuiteIT
156156
issue: https://github.com/elastic/elasticsearch/issues/111497
157-
- class: org.elasticsearch.smoketest.SmokeTestIngestWithAllDepsClientYamlTestSuiteIT
158-
method: test {yaml=ingest/80_ingest_simulate/Test ingest simulate with reroute and mapping validation from templates}
159-
issue: https://github.com/elastic/elasticsearch/issues/112575
160157
- class: org.elasticsearch.script.mustache.LangMustacheClientYamlTestSuiteIT
161158
method: test {yaml=lang_mustache/50_multi_search_template/Multi-search template with errors}
162159
issue: https://github.com/elastic/elasticsearch/issues/112580

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,9 @@ setup:
217217
"Test ingest simulate with reroute and mapping validation from templates":
218218

219219
- skip:
220-
features: headers
220+
features:
221+
- headers
222+
- allowed_warnings
221223

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

243245
- do:
246+
allowed_warnings:
247+
- "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"
244248
indices.put_index_template:
245249
name: first-index-template
246250
body:
@@ -255,6 +259,8 @@ setup:
255259
type: text
256260

257261
- do:
262+
allowed_warnings:
263+
- "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"
258264
indices.put_index_template:
259265
name: second-index-template
260266
body:

0 commit comments

Comments
 (0)