summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod/index_hammer1.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthroughWithMongod/index_hammer1.js')
-rw-r--r--jstests/noPassthroughWithMongod/index_hammer1.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthroughWithMongod/index_hammer1.js b/jstests/noPassthroughWithMongod/index_hammer1.js
index 5d89223093e..d1ecd2c5213 100644
--- a/jstests/noPassthroughWithMongod/index_hammer1.js
+++ b/jstests/noPassthroughWithMongod/index_hammer1.js
@@ -5,7 +5,7 @@ t.drop();
var bulk = t.initializeUnorderedBulkOp();
for (i = 0; i < 10000; i++)
bulk.insert({x: i, y: i});
-assert.writeOK(bulk.execute());
+assert.commandWorked(bulk.execute());
ops = [];