diff options
Diffstat (limited to 'jstests/noPassthrough/indexbg_drop.js')
-rw-r--r-- | jstests/noPassthrough/indexbg_drop.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/indexbg_drop.js b/jstests/noPassthrough/indexbg_drop.js index 6ee8e47a54d..ff192c9f3d4 100644 --- a/jstests/noPassthrough/indexbg_drop.js +++ b/jstests/noPassthrough/indexbg_drop.js @@ -45,7 +45,7 @@ var bulk = masterDB.getCollection(collection).initializeUnorderedBulkOp(); for (i = 0; i < size; ++i) { bulk.insert({i: Random.rand()}); } -assert.writeOK(bulk.execute({w: 2, wtimeout: replTest.kDefaultTimeoutMS})); +assert.commandWorked(bulk.execute({w: 2, wtimeout: replTest.kDefaultTimeoutMS})); assert.commandWorked( secondDB.adminCommand({configureFailPoint: "hangAfterStartingIndexBuild", mode: "alwaysOn"})); |