summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod
diff options
context:
space:
mode:
authorZach Yam <zach.yam@mongodb.com>2019-05-30 14:07:34 -0400
committerZach Yam <zach.yam@mongodb.com>2019-05-31 11:34:46 -0400
commitbd5db0ba92a47a902894890e46e45dbf5d73ba09 (patch)
tree48358787ed6ae5bfd4f2e9bf2d105630293e65ab /jstests/noPassthroughWithMongod
parent64848ce3a7d0f1af4d384473664bc80aa47fcb55 (diff)
downloadmongo-bd5db0ba92a47a902894890e46e45dbf5d73ba09.tar.gz
SERVER-41000 Fix typo in failpoint writeConfilctInRenameCollCopyToTmp
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