diff options
Diffstat (limited to 'jstests/noPassthrough/indexbg_shutdown.js')
-rw-r--r-- | jstests/noPassthrough/indexbg_shutdown.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/indexbg_shutdown.js b/jstests/noPassthrough/indexbg_shutdown.js index 88007a29e1a..7907780140c 100644 --- a/jstests/noPassthrough/indexbg_shutdown.js +++ b/jstests/noPassthrough/indexbg_shutdown.js @@ -47,7 +47,7 @@ var bulk = masterColl.initializeUnorderedBulkOp(); for (var i = 0; i < size; ++i) { bulk.insert({i: i, j: i * i}); } -assert.writeOK(bulk.execute()); +assert.commandWorked(bulk.execute()); IndexBuildTest.pauseIndexBuilds(second); |