summaryrefslogtreecommitdiff
path: root/jstests/concurrency/fsm_workloads/update_simple.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/concurrency/fsm_workloads/update_simple.js')
-rw-r--r--jstests/concurrency/fsm_workloads/update_simple.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/concurrency/fsm_workloads/update_simple.js b/jstests/concurrency/fsm_workloads/update_simple.js
index 65178eafafb..75614cc4ddd 100644
--- a/jstests/concurrency/fsm_workloads/update_simple.js
+++ b/jstests/concurrency/fsm_workloads/update_simple.js
@@ -37,7 +37,7 @@ var $config = (function() {
// make sure the inserted docs have a 'value' field, so they won't need
// to grow when this workload runs against a capped collection
var res = db[collName].insert({_id: i, value: 0});
- assertWhenOwnColl.writeOK(res);
+ assertWhenOwnColl.commandWorked(res);
assertWhenOwnColl.eq(1, res.nInserted);
}
}