summaryrefslogtreecommitdiff
path: root/jstests/sharding/cleanup_orphaned_cmd_hashed.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/cleanup_orphaned_cmd_hashed.js')
-rw-r--r--jstests/sharding/cleanup_orphaned_cmd_hashed.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/cleanup_orphaned_cmd_hashed.js b/jstests/sharding/cleanup_orphaned_cmd_hashed.js
index bf996dda39b..90c6c6cb0f1 100644
--- a/jstests/sharding/cleanup_orphaned_cmd_hashed.js
+++ b/jstests/sharding/cleanup_orphaned_cmd_hashed.js
@@ -42,7 +42,7 @@ for (var s = 0; s < 2; s++) {
var bulk = shardColl.initializeUnorderedBulkOp();
for (var i = 0; i < 100; i++)
bulk.insert({_id: i});
- assert.writeOK(bulk.execute());
+ assert.commandWorked(bulk.execute());
}
assert.eq(200,