Skip to content

Commit

Permalink
Update regexes for the locale deprecation warnings (#113675)
Browse files Browse the repository at this point in the history
  • Loading branch information
thecoop committed Sep 30, 2024
1 parent 6e400c1 commit 1d373a5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
3 changes: 0 additions & 3 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,6 @@ tests:
- class: org.elasticsearch.validation.DotPrefixClientYamlTestSuiteIT
method: test {p0=dot_prefix/10_basic/Deprecated index template with a dot prefix index pattern}
issue: https://github.com/elastic/elasticsearch/issues/113529
- class: org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT
method: test {p0=search/180_locale_dependent_mapping/Test Index and Search locale dependent mappings / dates}
issue: https://github.com/elastic/elasticsearch/issues/113537
- class: org.elasticsearch.xpack.inference.TextEmbeddingCrudIT
method: testPutE5WithTrainedModelAndInference
issue: https://github.com/elastic/elasticsearch/issues/113565
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
"Test Index and Search locale dependent mappings / dates":
- requires:
test_runner_features: ["allowed_warnings"]
test_runner_features: ["allowed_warnings_regex"]
- do:
allowed_warnings:
- "Date format [E, d MMM yyyy HH:mm:ss Z] contains textual field specifiers that could change in JDK 23"
allowed_warnings_regex:
- "Date format \\[E, d MMM yyyy HH:mm:ss Z] contains textual field specifiers that could change in JDK 23.*"
indices.create:
index: test_index
body:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ emp_no:integer | year:long | month:long | day:long
dateFormatLocale
from employees | where emp_no == 10049 or emp_no == 10050 | sort emp_no
| eval birth_month = date_format("MMMM", birth_date) | keep emp_no, birth_date, birth_month;
warningRegex:Date format \[MMMM\] contains textual field specifiers that could change in JDK 23
warningRegex:Date format \[MMMM\] contains textual field specifiers that could change in JDK 23.*
ignoreOrder:true

emp_no:integer | birth_date:datetime | birth_month:keyword
Expand Down

0 comments on commit 1d373a5

Please sign in to comment.