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

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

    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.

        Activity

        nikola.koevski Nikola Koevski created issue -
        nikola.koevski Nikola Koevski made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Original Estimate 0 minutes [ 0 ]
        Remaining Estimate 0 minutes [ 0 ]
        Resolution Fixed [ 1 ]
        nikola.koevski Nikola Koevski made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        thorben.lindhauer Thorben Lindhauer made changes -
        Fix Version/s 7.11.0-alpha1 [ 15370 ]
        thorben.lindhauer Thorben Lindhauer made changes -
        Workflow camunda BPM [ 54693 ] Backup_camunda BPM [ 64216 ]

          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:

              Development