summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/indexbg_killop_apply_ops.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthrough/indexbg_killop_apply_ops.js')
-rw-r--r--jstests/noPassthrough/indexbg_killop_apply_ops.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/indexbg_killop_apply_ops.js b/jstests/noPassthrough/indexbg_killop_apply_ops.js
index dc35b1d0b98..0a41b18749c 100644
--- a/jstests/noPassthrough/indexbg_killop_apply_ops.js
+++ b/jstests/noPassthrough/indexbg_killop_apply_ops.js
@@ -29,7 +29,7 @@ const primary = rst.getPrimary();
const testDB = primary.getDB('test');
const coll = testDB.getCollection('test');
-assert.writeOK(coll.insert({a: 1}));
+assert.commandWorked(coll.insert({a: 1}));
IndexBuildTest.pauseIndexBuilds(primary);