Enable CronEvalToolTest.testEnsureDateIsShownInRootLocale (#38394)

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
This commit is contained in:
Przemyslaw Gomulka 2019-02-05 17:48:47 +01:00 committed by GitHub
parent 440d1eda8a
commit df4eb0485d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -56,7 +56,6 @@ public class CronEvalToolTests extends CommandTestCase {
// 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)) {