SERVER-123401 restartServerReplication: use configureFailPoint wrapper (#51106)
GitOrigin-RevId: 033fd291cecac9f4ee3171faac0e8e905ad2bdb0
This commit is contained in:
parent
66d3e97004
commit
7e61f40d0d
@ -69,8 +69,7 @@ export function restartServerReplication(conn) {
|
||||
return;
|
||||
}
|
||||
|
||||
let errMsg = "Failed to disable stopReplProducer failpoint.";
|
||||
assert.commandWorked(conn.getDB("admin").runCommand({configureFailPoint: "stopReplProducer", mode: "off"}), errMsg);
|
||||
configureFailPoint(conn, "stopReplProducer", {}, "off");
|
||||
}
|
||||
|
||||
// Restarts replication at all nodes in a replicaset.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user