summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/commands_handle_kill.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthrough/commands_handle_kill.js')
-rw-r--r--jstests/noPassthrough/commands_handle_kill.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/jstests/noPassthrough/commands_handle_kill.js b/jstests/noPassthrough/commands_handle_kill.js
index b7ad6ea1bea..d2aedb8f4ea 100644
--- a/jstests/noPassthrough/commands_handle_kill.js
+++ b/jstests/noPassthrough/commands_handle_kill.js
@@ -70,12 +70,8 @@
// group command errors if plan executor is killed.
res = db.runCommand({
- group: {
- ns: coll.getFullName(),
- key: "_id",
- $reduce: function(curr, result) {},
- initial: {}
- }
+ group:
+ {ns: coll.getFullName(), key: "_id", $reduce: function(curr, result) {}, initial: {}}
});
assert.commandFailed(res);
assert(res.errmsg.indexOf("hit planExecutorAlwaysDead fail point") > -1);