On some environments where JVM is under load some event tests fails (i.e. Jenkins environment on which multiple tests are run at the same time). They are usually tests that contain loops with Thread.sleep() call. The resolution that can help to stabilize these tests is loops removal. Thread.sleep() has some overhead associated with putting thread to sleep and his awakening later so removal of loops removes some unnecessary overhead that is introduced on each loop iteration.