SERVER-8203: replication metrics test fix