MULE-8094: fix flacky test