summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthroughWithMongod')
-rw-r--r--jstests/noPassthroughWithMongod/renameWithWCE.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthroughWithMongod/renameWithWCE.js b/jstests/noPassthroughWithMongod/renameWithWCE.js
index 07499380506..f09c45ebeff 100644
--- a/jstests/noPassthroughWithMongod/renameWithWCE.js
+++ b/jstests/noPassthroughWithMongod/renameWithWCE.js
@@ -45,7 +45,7 @@
// Ensure that a WCE during renaming doesn't cause a failure.
assert.commandWorked(db_a.setProfilingLevel(2)); // So we can check WCE happens.
assert.commandWorked(db_a.adminCommand(
- {"configureFailPoint": 'writeConfilctInRenameCollCopyToTmp', "mode": {times: 1}}));
+ {"configureFailPoint": 'writeConflictInRenameCollCopyToTmp', "mode": {times: 1}}));
assert.commandWorked(
admin.runCommand({renameCollection: "db_a.rename7", to: "db_b.rename7", dropTarget: true}));
assert.gte(db_a.system.profile.findOne().writeConflicts, 1); // Make sure that our WCE happened