SONAR-5007 fix non-deterministic test