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

Move index reset in tests from schdedule method to before each test method

    Details

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

      Description

      AT:

      • in the test environment the index reset is not done anymore in the EmbeddedOptimizeRule#scheduleAllJobsAndImportEngineEntities method, but in the EmbeddedOptimizeRule#starting

      Background:
      The schedule has logically nothing to do with the reset of import indexes. If we want to have a reset in the tests, we should state that explicitly there instead of hiding it.

        Activity

        Hide
        johannes.heinemann Johannes Heinemann added a comment -

        That's not needed anymore

        Show
        johannes.heinemann Johannes Heinemann added a comment - That's not needed anymore

          People

          • Assignee:
            Unassigned
            Reporter:
            johannes.heinemann Johannes Heinemann
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: