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

Automatize back-end integration test parallel execution

    Details

    • Type: Task
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: 2.5.0-alpha2
    • Component/s: backend
    • Labels:
      None

      Description

      AT:

      • I can define how many cores can be used to parallelize the execution
      • The tests to execute per sub stage should be determined based on the number of defined cores

      Context:
      The context of this ticket is a follow up to OPT-2107 - parallelization of the backend integration tests.
      We would like to automatize the splitting of the tests dependent on parameters like number of splits (or even something like desired max time)

      There exists a Jenkins plugin called Parallel Test Executor Plugin which provides the functionality that we would like to have.
      It provides the logic that analyzes previous test runs to split the tests evenly based on their test execution time and creating excludes/includes files that can be used in the build pipeline to only execute these tests in a certain node.
      We created a SRE ticket SRE-520.
      In case that the Jenkins plugin is not possible to use we should think about implementing such a dynamic test splitting ourselfs.

      In the previous ticket OPT-2107 we implement the pipeline part of this functionality and work with hardcoded splitting / excludes.

        Issue Links

          Activity

          Hide
          johannes.heinemann Johannes Heinemann added a comment - - edited

          Won't do. See OPT-2107 why.

          Show
          johannes.heinemann Johannes Heinemann added a comment - - edited Won't do. See OPT-2107 why.

            People

            • Assignee:
              Unassigned
              Reporter:
              michael.wagner Michael Wagner
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: