summaryrefslogtreecommitdiff
path: root/jstests/aggregation/bugs/server14969.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/aggregation/bugs/server14969.js')
-rw-r--r--jstests/aggregation/bugs/server14969.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/aggregation/bugs/server14969.js b/jstests/aggregation/bugs/server14969.js
index 629e54505fc..8c4deee6686 100644
--- a/jstests/aggregation/bugs/server14969.js
+++ b/jstests/aggregation/bugs/server14969.js
@@ -6,7 +6,7 @@ coll.drop();
// Initialize collection with eight 1M documents, and index on field "a".
var longString = new Array(1024 * 1024).join('x');
for (var i = 0; i < 100; ++i) {
- assert.writeOK(coll.insert({a: 1, bigField: longString}));
+ assert.commandWorked(coll.insert({a: 1, bigField: longString}));
}
assert.commandWorked(coll.ensureIndex({a: 1}));