diff options
Diffstat (limited to 'jstests/aggregation/bugs/server17224.js')
-rw-r--r-- | jstests/aggregation/bugs/server17224.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/jstests/aggregation/bugs/server17224.js b/jstests/aggregation/bugs/server17224.js index 33042abab53..888c99b808c 100644 --- a/jstests/aggregation/bugs/server17224.js +++ b/jstests/aggregation/bugs/server17224.js @@ -15,9 +15,10 @@ t.insert({a: new Array(1024 * 1024 - 1105).join('a')}); // do not use cursor form, since it has a different workaroud for this issue. - assert.commandFailed( - db.runCommand({aggregate: t.getName(), - pipeline: [{$match: {}}, {$group: {_id: null, arr: {$push: {a: '$a'}}}}]})); + assert.commandFailed(db.runCommand({ + aggregate: t.getName(), + pipeline: [{$match: {}}, {$group: {_id: null, arr: {$push: {a: '$a'}}}}] + })); // Make sure the server is still up. assert.commandWorked(db.runCommand('ping')); |