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

Enhance ClockUtil with clock functionality

    Details

    • Type: Task
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.11.0, 7.11.0-alpha1
    • Component/s: engine
    • Labels:
      None

      Description

      Short story: Instead of freezing it to a fixed time with setCurrentTime, it now contains a Clock, which is shifted by an offset. Advantage: After time travelling, the time moves on, which is especially useful when testing jobs (use case: travel to the future, schedule a job and it will magically be executed, because time is not frozen anymore).

      The old API still exists and is delegated to the new clock.

      PR: https://github.com/camunda/camunda-bpm-platform/pull/310

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            yana.vasileva Yana Vasileva
            Reporter:
            yana.vasileva Yana Vasileva
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development