NXP-13011: fix randomly-failing test