diff options
Diffstat (limited to 'jstests/concurrency/fsm_workloads/yield_geo_near_dedup.js')
-rw-r--r-- | jstests/concurrency/fsm_workloads/yield_geo_near_dedup.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/concurrency/fsm_workloads/yield_geo_near_dedup.js b/jstests/concurrency/fsm_workloads/yield_geo_near_dedup.js index 1e6da602641..7d3af9d2c24 100644 --- a/jstests/concurrency/fsm_workloads/yield_geo_near_dedup.js +++ b/jstests/concurrency/fsm_workloads/yield_geo_near_dedup.js @@ -13,13 +13,13 @@ var $config = extendWorkload($config, function($config, $super) { var doc = db[collName].findOne({_id: id}); if (doc !== null) { var res = db[collName].remove({_id: id}); - assertAlways.writeOK(res); + assertAlways.commandWorked(res); if (res.nRemoved > 0) { // Re-insert the document with the same '_id', but an incremented // 'timesInserted' to // distinguish it from the deleted document. doc.timesInserted++; - assertAlways.writeOK(db[collName].insert(doc)); + assertAlways.commandWorked(db[collName].insert(doc)); } } }; |