Skip to content

Commit

Permalink
EQL: Mute bwc tests that have incompatibilities with Java 23 (elastic…
Browse files Browse the repository at this point in the history
…#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 elastic#112617
  • Loading branch information
luigidellaquila authored Sep 10, 2024
1 parent 574915d commit f6ace50
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 0 additions & 2 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,6 @@ tests:
- class: org.elasticsearch.xpack.ml.integration.MlJobIT
method: testPutJob_GivenFarequoteConfig
issue: https://github.com/elastic/elasticsearch/issues/112382
- class: org.elasticsearch.xpack.eql.EqlClientYamlIT
issue: https://github.com/elastic/elasticsearch/issues/112617
- class: org.elasticsearch.xpack.security.authc.kerberos.KerberosTicketValidatorTests
method: testWhenKeyTabWithInvalidContentFailsValidation
issue: https://github.com/elastic/elasticsearch/issues/112631
Expand Down
8 changes: 8 additions & 0 deletions x-pack/plugin/eql/qa/rest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ tasks.named('yamlRestTestV7CompatTest') {
usesDefaultDistribution()
}

tasks.named("yamlRestTestV7CompatTransform").configure {task ->
task.skipTest("eql/10_basic/Execute EQL events query with wildcard (*) fields filtering.", "Change of locale with Java 23 makes these tests non deterministic")
task.skipTest("eql/10_basic/Execute EQL sequence with fields filtering.", "Change of locale with Java 23 makes these tests non deterministic")
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")
task.skipTest("eql/10_basic/Execute EQL events query with fields filtering", "Change of locale with Java 23 makes these tests non deterministic")
task.skipTest("eql/10_basic/Execute EQL sequence with wildcard (*) fields filtering.", "Change of locale with Java 23 makes these tests non deterministic")
}

if (BuildParams.inFipsJvm){
// This test cluster is using a BASIC license and FIPS 140 mode is not supported in BASIC
tasks.named("javaRestTest").configure{enabled = false }
Expand Down

0 comments on commit f6ace50

Please sign in to comment.