Skip to content

Commit

Permalink
Enable CronEvalToolTest.testEnsureDateIsShownInRootLocale
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 elastic#35687
  • Loading branch information
pgomulka committed Feb 5, 2019
1 parent 89feaa0 commit 8d20f48
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 8d20f48

Please sign in to comment.