Skip to content

Commit

Permalink
Fix stats test that checks for formatter tostring (elastic#114215)
Browse files Browse the repository at this point in the history
Locale may or may not be there depending on version
  • Loading branch information
thecoop authored Oct 7, 2024
1 parent c65fc63 commit 86f21d1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion modules/aggregations/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,4 @@ dependencies {

tasks.named("yamlRestCompatTestTransform").configure({ task ->
task.skipTest("aggregations/date_agg_per_day_of_week/Date aggregartion per day of week", "week-date behaviour has changed")
task.skipTest("aggregations/stats_metric_fail_formatting/fail formatting", "locale has changed")
})
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ setup:
cluster_features: "gte_v8.15.0"
reason: fixed in 8.15.0
- do:
catch: /Cannot format stat \[sum\] with format \[DocValueFormat.DateTime\(format\[date_hour_minute_second_millis\] locale\[en\], Z, MILLISECONDS\)\]/
catch: /Cannot format stat \[sum\] with format \[DocValueFormat.DateTime\(format\[date_hour_minute_second_millis\] locale\[(en)?\], Z, MILLISECONDS\)\]/
search:
index: test_date
body:
Expand Down

0 comments on commit 86f21d1

Please sign in to comment.