Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-2740

Test for large activity duration fails

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Done
    • L3 - Default
    • 2.7.0
    • None
    • backend
    • None

    Description

      Given:

      • The current time is `Integer.MAX_VALUE` ms away from a summer/winter time shift
      • The variable startDate in `reportEvaluationForOneProcessBigActivityDuration` is defined as `OffsetDateTime startDate = OffsetDateTime.now()` (instead of the current quickfix `OffsetDateTime startDate = OffsetDateTime.now().minusDays(20)`

      When:

      • I run `ProcessInstanceDurationByNoneWithProcessPartReportEvaluationIT .reportEvaluationForOneProcessBigActivityDuration()`

      Then:

      • The test fails when trying to assert the activityDuration value

      Expected:

      • The test should pass

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              helene.waechtler Helene Waechtler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce