AT:
- given:
- Optimize and the engine are up running
- Optimize is importing the data of the engine
- when:
- Optimize is stopped and restrarted again
- then:
- the import continues, but some historic activity instances are imported twice
- expected:
- the import continues and only new data is imported
Context:
When we restart Optimize it might not have persisted the latest import index and thus we import activity instances again. Right now, we add those activity instances again, which results in inconsistent data.