Context:
While working on OPT-4782, we removed the general cleanup of instance indices in IT for performance purposes and added it back in only for those tests where it is relevant to cleanup old instance indices before running the tests. Unfortunately, for the cleanup tests, I added a deletion that is not necessary: it now imports all data, then deletes all instance indices and then attempts to run the actual cleanup tests.
AT:
- Dont remove instance indices before cleanup tests because they will have been created during the jenkins job import stage