summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/commands_handle_kill.js
diff options
context:
space:
mode:
authorTess Avitabile <tess.avitabile@mongodb.com>2017-01-11 17:14:40 -0500
committerTess Avitabile <tess.avitabile@mongodb.com>2017-01-13 17:56:02 -0500
commit92e599237444912607e70a745fe5c0aa00dd4caf (patch)
tree3241f19d67635438a2ceb142d0584d0bb38b5bce /jstests/noPassthrough/commands_handle_kill.js
parent5c2aac3b24d0680418ee8fab1fa6e53be2a0eede (diff)
downloadmongo-92e599237444912607e70a745fe5c0aa00dd4caf.tar.gz
SERVER-24623 Remove single document aggregation result option
Diffstat (limited to 'jstests/noPassthrough/commands_handle_kill.js')
-rw-r--r--jstests/noPassthrough/commands_handle_kill.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/commands_handle_kill.js b/jstests/noPassthrough/commands_handle_kill.js
index d2aedb8f4ea..9d3b197217f 100644
--- a/jstests/noPassthrough/commands_handle_kill.js
+++ b/jstests/noPassthrough/commands_handle_kill.js
@@ -20,7 +20,7 @@
var res;
// aggregate command errors if plan executor is killed.
- res = db.runCommand({aggregate: collName, pipeline: []});
+ res = db.runCommand({aggregate: collName, pipeline: [], cursor: {}});
assert.commandFailed(res);
assert(res.errmsg.indexOf("hit planExecutorAlwaysDead fail point") > -1);