summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod/no_balance_collection.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthroughWithMongod/no_balance_collection.js')
-rw-r--r--jstests/noPassthroughWithMongod/no_balance_collection.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthroughWithMongod/no_balance_collection.js b/jstests/noPassthroughWithMongod/no_balance_collection.js
index b548ce13cd9..6549126a9dc 100644
--- a/jstests/noPassthroughWithMongod/no_balance_collection.js
+++ b/jstests/noPassthroughWithMongod/no_balance_collection.js
@@ -81,7 +81,7 @@ var bulk = collB.initializeUnorderedBulkOp();
for (var i = 0; i < 1000000; i++) {
bulk.insert({_id: i, hello: "world"});
}
-assert.writeOK(bulk.execute());
+assert.commandWorked(bulk.execute());
printjson(lastMigration);
printjson(sh._lastMigration(collB));