Skip to content

Commit

Permalink
Enable CronEvalToolTest.testEnsureDateIsShownInRootLocale (#38394)
Browse files Browse the repository at this point in the history
The test is now expected to be always passing no matter what the random
locale is. This is fixed with using jdk ZoneId.systemDefault() in both
the test and CronEvalTool

closes #35687
  • Loading branch information
pgomulka committed Feb 5, 2019
1 parent 440d1ed commit df4eb04
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ public void testGetNextValidTimes() throws Exception {

// randomized testing sets arbitrary locales and timezones, and we do not care
// we always have to output in standard locale and independent from timezone
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/35687")
public void testEnsureDateIsShownInRootLocale() throws Exception {
String output = execute("-c","1", "0 0 11 ? * MON-SAT 2040");
if (ZoneId.systemDefault().equals(ZoneOffset.UTC)) {
Expand Down

0 comments on commit df4eb04

Please sign in to comment.