diff options
Diffstat (limited to 'jstests/aggregation/bugs/server533.js')
-rw-r--r-- | jstests/aggregation/bugs/server533.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/aggregation/bugs/server533.js b/jstests/aggregation/bugs/server533.js index d66c5d27ad8..e9be67f635a 100644 --- a/jstests/aggregation/bugs/server533.js +++ b/jstests/aggregation/bugs/server533.js @@ -14,7 +14,7 @@ assert.eq(coll.aggregate([{$sample: {size: 10}}]).toArray(), []); var nItems = 3; for (var i = 0; i < nItems; i++) { - assert.writeOK(coll.insert({_id: i})); + assert.commandWorked(coll.insert({_id: i})); } [0, 1, nItems, nItems + 1].forEach(function(size) { |