summaryrefslogtreecommitdiff
path: root/jstests/sharding/features3.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/features3.js')
-rw-r--r--jstests/sharding/features3.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/features3.js b/jstests/sharding/features3.js
index 0ccf500804f..5edad528114 100644
--- a/jstests/sharding/features3.js
+++ b/jstests/sharding/features3.js
@@ -37,7 +37,7 @@ var bulk = dbForTest.foo.initializeUnorderedBulkOp();
for (var i = 0; i < numDocs; i++) {
bulk.insert({_id: i});
}
-assert.writeOK(bulk.execute());
+assert.commandWorked(bulk.execute());
var x = dbForTest.foo.stats();