Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-9691

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

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: 7.11.0
    • Fix Version/s: 7.11.0, 7.11.0-alpha1
    • Component/s: engine
    • Labels:
      None
    • Title Keywords:
      time zone, metrics, test

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: