You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Dale Richardson (JIRA)" <ji...@apache.org> on 2019/04/15 12:17:00 UTC

[jira] [Created] (METRON-2076) Stellar timezone test failure

Dale Richardson created METRON-2076:
---------------------------------------

             Summary: Stellar timezone test failure
                 Key: METRON-2076
                 URL: https://issues.apache.org/jira/browse/METRON-2076
             Project: Metron
          Issue Type: Bug
    Affects Versions: 0.7.0
            Reporter: Dale Richardson


I notice that testDateFormatDefaultTimezone is failing on my machine (MacOS Mojave)

public void testDateFormatDefaultTimezone() {
 Object result = run("DATE_FORMAT('EEE MMM dd yyyy hh:mm:ss zzzz', epoch)");
 // Thu Aug 25 2016 11:27:10 Australian Eastern Standard Time (New South Wales)"

assertTrue(result.toString().endsWith(TimeZone.getDefault().getDisplayName(true, 1)));

//Australian Eastern Daylight Time (New South Wales)
}

 

# sudo systemsetup -gettimezone

Time Zone: Australia/Sydney

 

# echo `date -u` `date +%z`

Mon 15 Apr 2019 12:05:06 UTC +1000

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)