Since we rely on the REST API for provisioning of Web UI functional tests we have an after handler that is in charge of cleaning up created documents in any givdn scenario.
However, these deletions may result in conflicts and/or deadlocks and as such our code should be more resilent and retry in such cases.
Failing to do results in "duplicated" documents which causes tests to fail.
- Is referenced in