summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/killop.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthrough/killop.js')
-rw-r--r--jstests/noPassthrough/killop.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/killop.js b/jstests/noPassthrough/killop.js
index 53f14b1f838..50445470323 100644
--- a/jstests/noPassthrough/killop.js
+++ b/jstests/noPassthrough/killop.js
@@ -12,7 +12,7 @@ const collName = "test";
function runTest(conn, shardConn) {
const db = conn.getDB(dbName);
assert.commandWorked(db.dropDatabase());
- assert.writeOK(db.getCollection(collName).insert({x: 1}));
+ assert.commandWorked(db.getCollection(collName).insert({x: 1}));
assert.commandWorked(
shardConn.adminCommand({setParameter: 1, internalQueryExecYieldIterations: 1}));