Uploaded image for project: 'OODT (Retired)'
  1. OODT (Retired)
  2. OODT-559

Unit test failure in testDoDynamicReplacement for "Europe/London" timezone

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.6
    • 1.1
    • commons
    • None

    Description

      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

      Attachments

        1. fix_date_test.patch
          0.8 kB
          Tom Barber

        Activity

          People

            chrismattmann Chris A. Mattmann
            varunratnakar Varun Ratnakar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: