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

Stabilize RelativeDecisionDateFilter tests

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • L3 - Default
    • 3.0.0
    • 3.0.0
    • backend
    • None

    Description

      Context:
      Some decision date filter tests have been observed to be unstable due to being dependent on the time they run. E.g. When the relative minute filter is used and the minute changes between test data setup and actual evaluation, see e.g. this failure:
      https://ci.optimize.camunda.cloud/view/all/job/elasticsearch_compatibility/612/testReport/junit/org.camunda.optimize.service.es.filter.decision/DecisionEvaluationDateFilterIT/Elasticsearch_Integration_Tests___Elasticsearch_AWS_Integration___resultFilterByRollingEvaluationDateCurrentInterval_DateFilterUnit__1_/

      AT:

      • we should make use of LocalDateUtil in all date filtering tests to eliminate the depenency on the actual time and eliminate race conditions, like e.g. done in RollingDateFilterIT#testStartDateCurrentIntervalRollingLogic

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              sebastian.bathke Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce