NXP-11871: make the test more resilient to random failure