summaryrefslogtreecommitdiff
path: root/jstests/replsets/temp_namespace.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/temp_namespace.js')
-rw-r--r--jstests/replsets/temp_namespace.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/temp_namespace.js b/jstests/replsets/temp_namespace.js
index cc7bf462924..de276222b95 100644
--- a/jstests/replsets/temp_namespace.js
+++ b/jstests/replsets/temp_namespace.js
@@ -38,7 +38,7 @@ assert.commandWorked(masterDB.runCommand(
assert.commandWorked(masterDB.runCommand(
{applyOps: [{op: "c", ns: masterDB.getName() + ".$cmd", o: {create: "keep2", temp: 0}}]}));
masterDB.runCommand({create: 'keep3'});
-assert.writeOK(masterDB.keep4.insert({}, {writeConcern: {w: 2}}));
+assert.commandWorked(masterDB.keep4.insert({}, {writeConcern: {w: 2}}));
// make sure they exist on primary and secondary
function countCollection(mydb, nameFilter) {