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

Extract Engine importing in tests to AbstractIT methods

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • L3 - Default
    • 3.1.0
    • None
    • backend
    • None
    • Not defined

    Description

      From BE Senate: https://confluence.camunda.com/display/CO/2020-05-06+The+Back-End+Senate+-+June?focusedTaskId=1

      We currently have a lot of tests that do something like the following:

      importAllEngineEntitiesFromScratch();
      refreshIndices();

      Considering the frequency of this, we should create a method that does both of these actions in the AbstractIT, so it can be reused everywhere.

      We should have a similar method that does the same for importAllEngineEntitiesFromLastIndex.

      In addition, we should try to only import from scratch in tests where we need to. In a lot of cases, importing from the last index would be sufficient. This might be out of scope.

      ATs:

      • AbstractIT has two methods declared that help with importing engine entities and refreshing ES indices. These should be used across our ITs**

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                joshua.windels Joshua Windels
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce