Skip to content

Commit f6ace50

Browse files
EQL: Mute bwc tests that have incompatibilities with Java 23 (#112699)
The switch to Java 23 removed support for COMPAT locale provider, so running old versions (< 8.15.2) in a mixed cluster will result in different results for date format (eg. month and day names are truncated to three letters). Fixes #112617
1 parent 574915d commit f6ace50

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

muted-tests.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,6 @@ tests:
178178
- class: org.elasticsearch.xpack.ml.integration.MlJobIT
179179
method: testPutJob_GivenFarequoteConfig
180180
issue: https://github.com/elastic/elasticsearch/issues/112382
181-
- class: org.elasticsearch.xpack.eql.EqlClientYamlIT
182-
issue: https://github.com/elastic/elasticsearch/issues/112617
183181
- class: org.elasticsearch.xpack.security.authc.kerberos.KerberosTicketValidatorTests
184182
method: testWhenKeyTabWithInvalidContentFailsValidation
185183
issue: https://github.com/elastic/elasticsearch/issues/112631

x-pack/plugin/eql/qa/rest/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ tasks.named('yamlRestTestV7CompatTest') {
3030
usesDefaultDistribution()
3131
}
3232

33+
tasks.named("yamlRestTestV7CompatTransform").configure {task ->
34+
task.skipTest("eql/10_basic/Execute EQL events query with wildcard (*) fields filtering.", "Change of locale with Java 23 makes these tests non deterministic")
35+
task.skipTest("eql/10_basic/Execute EQL sequence with fields filtering.", "Change of locale with Java 23 makes these tests non deterministic")
36+
task.skipTest("eql/10_basic/Execute EQL sequence with custom format for timestamp field.", "Change of locale with Java 23 makes these tests non deterministic")
37+
task.skipTest("eql/10_basic/Execute EQL events query with fields filtering", "Change of locale with Java 23 makes these tests non deterministic")
38+
task.skipTest("eql/10_basic/Execute EQL sequence with wildcard (*) fields filtering.", "Change of locale with Java 23 makes these tests non deterministic")
39+
}
40+
3341
if (BuildParams.inFipsJvm){
3442
// This test cluster is using a BASIC license and FIPS 140 mode is not supported in BASIC
3543
tasks.named("javaRestTest").configure{enabled = false }

0 commit comments

Comments
 (0)