Avoid concurrency issues in TestReplicationPolicyWithNodeGroup