Even 2 retries isn't enough for unit-testing-erratic. I think we should try allowing it to fail:
https://docs.gitlab.com/ee/ci/yaml/#allow_failure
From my understanding, we will be able to see whether the job passed or failed, but it won't prevent the whole pipeline from passing.