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

Speed up integration test (IT) execution

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • L3 - Default
    • 2.4.0-alpha1, 2.4.0
    • None
    • backend
    • None

    Description

      AT:

      • when scheduling the import don't perform schedule import rounds in a while loop, but do the following:
        • schedule one full import round
        • schedule a second round where all scrollbased import mediators are triggered
      • the decision resolver also fetches decision definitions where the xml hasn't been imported yet. So that he can immediately get in sync.
      • decision writer does immediately a refresh on the index after the definitions have been persisted, such that the decision resolver can fetch all definition after one import round
      • the IT execution takes less than 10 minutes

      Context:
      The integration tests started to consume a lot of time with up to 20 minutes on jenkins. As a result developers got a bad feedback loop, because they have to wait a long time until they know that the code is working as expected.
      We don't need to simulate the original import behavior in the integration tests any longer, since the performance tests cover that this is working as expected and Optimize is importing all engine entities.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                johannes.heinemann Johannes
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce