diff options
Diffstat (limited to 'jstests/concurrency/fsm_workloads/remove_single_document.js')
-rw-r--r-- | jstests/concurrency/fsm_workloads/remove_single_document.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/concurrency/fsm_workloads/remove_single_document.js b/jstests/concurrency/fsm_workloads/remove_single_document.js index c2d3831f223..d6191da48f6 100644 --- a/jstests/concurrency/fsm_workloads/remove_single_document.js +++ b/jstests/concurrency/fsm_workloads/remove_single_document.js @@ -44,7 +44,7 @@ var $config = (function() { return db[collName].remove(query, options); }, assertResult: function assertResult(res) { - assertAlways.writeOK(res); + assertAlways.commandWorked(res); // when running on its own collection, // this iteration should remove exactly one document assertWhenOwnColl.eq(1, res.nRemoved, tojson(res)); |