[misc] Workaround flickering test failures