summaryrefslogtreecommitdiff
path: root/jstests/core/mr_optim.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/mr_optim.js')
-rw-r--r--jstests/core/mr_optim.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/mr_optim.js b/jstests/core/mr_optim.js
index d4d088f93e5..1fbcaabbea1 100644
--- a/jstests/core/mr_optim.js
+++ b/jstests/core/mr_optim.js
@@ -18,7 +18,7 @@ if (res.ok !== 1) {
}
for (var i = 0; i < 1000; ++i) {
- assert.writeOK(t.save({a: Math.random(1000), b: Math.random(10000)}));
+ assert.commandWorked(t.save({a: Math.random(1000), b: Math.random(10000)}));
}
function m() {