Skip to content

Commit 7f66489

Browse files
cbuescherdavidkyle
authored andcommitted
Fix failing LangMustacheClientYamlTestSuiteIT yamlRestTestV7CompatTest (#112683)
The error message changed slightly to include the failure location. While this was added to the main test yml file, the yamlRestTestV7CompatTest resources seem to get copied from v7 files and we then modify them if we expect any changes. Closes #112580
1 parent 02a9750 commit 7f66489

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

modules/lang-mustache/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,5 @@ restResources {
2929
tasks.named("yamlRestTestV7CompatTransform").configure {task ->
3030
task.addAllowedWarningRegex("\\[types removal\\].*")
3131
task.replaceValueInMatch("responses.1.error.root_cause.0.type", "x_content_e_o_f_exception", "Multi-search template with errors")
32+
task.replaceValueInMatch("responses.1.error.root_cause.0.reason", "/\\[1:22\\].Unexpected.end.of.file/", "Multi-search template with errors")
3233
}

muted-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,9 @@ 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.script.mustache.LangMustacheClientYamlTestSuiteIT
158-
method: test {yaml=lang_mustache/50_multi_search_template/Multi-search template with errors}
159-
issue: https://github.com/elastic/elasticsearch/issues/112580
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
160160
- class: org.elasticsearch.xpack.security.authc.kerberos.SimpleKdcLdapServerTests
161161
method: testClientServiceMutualAuthentication
162162
issue: https://github.com/elastic/elasticsearch/issues/112529

0 commit comments

Comments
 (0)