oodt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Ratnakar (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (OODT-559) Unit test failure in testDoDynamicReplacement for "Europe/London" timezone
Date Thu, 30 Jan 2014 15:44:09 GMT

     [ https://issues.apache.org/jira/browse/OODT-559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Varun Ratnakar reopened OODT-559:
---------------------------------

    Skill Level: Committer (Medium) - This is for regular contributors/committers

> Unit test failure in testDoDynamicReplacement for "Europe/London" timezone
> --------------------------------------------------------------------------
>
>                 Key: OODT-559
>                 URL: https://issues.apache.org/jira/browse/OODT-559
>             Project: OODT
>          Issue Type: Bug
>          Components: commons
>    Affects Versions: 0.6
>            Reporter: Varun Ratnakar
>            Assignee: Chris A. Mattmann
>            Priority: Minor
>             Fix For: 0.6
>
>         Attachments: fix_date_test.patch
>
>
> I've been regularly encountering a unit test failure in testDoDynamicReplacement. After
investigating it a bit further, I found that it seems to be related to the TimeZone. If I
set my computer's timezone to PST (or any other timezone except "Europe/London"), it works,
but with "Europe/London" Timezone I get the following:
> DATE_TO_SECS (2008-01-20T16:30:28.000-000033  , TAI_FORMAT , 1993-01-01)
> 			= 474996601.000
> Should be		= 475000201.000
> Difference of 3600 seconds = 1 hour



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message