Failing test when not in GMT/UTC+1 time zone

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.11.0, 7.11.0-alpha1
    • Affects Version/s: 7.11.0
    • Component/s: engine
    • None

      The MetricsRestServiceInteractionTest is failing when run in an environment with a non-UTC+1 time zone.

      The reason for this is that the actual Date value is created by providing milliseconds to the test Date object (obtaining a 'local time' date). On the other hand, the expected Date value is parsed from a string fixed to a certain time.

            Assignee:
            Nikola Koevski
            Reporter:
            Nikola Koevski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: