summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/currentop_query.js
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2017-05-12 10:03:57 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2017-05-12 10:03:57 -0400
commit164d4720b9d81ca5f9deea702b66438a6fa8072c (patch)
tree65dd8448340925df5c26857d8080231ad12b43d3 /jstests/noPassthrough/currentop_query.js
parent5ab83cb6e3acaf435d0d792cf8b5360eac47ce2e (diff)
downloadmongo-164d4720b9d81ca5f9deea702b66438a6fa8072c.tar.gz
SERVER-29075 Add remaining client metadata to the currentOp output
Diffstat (limited to 'jstests/noPassthrough/currentop_query.js')
-rw-r--r--jstests/noPassthrough/currentop_query.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/jstests/noPassthrough/currentop_query.js b/jstests/noPassthrough/currentop_query.js
index 92c27d26d56..6d59aa5f07e 100644
--- a/jstests/noPassthrough/currentop_query.js
+++ b/jstests/noPassthrough/currentop_query.js
@@ -72,6 +72,9 @@
if (result.inprog.length === 1) {
assert.eq(result.inprog[0].appName, "MongoDB Shell", tojson(result));
+ assert.eq(result.inprog[0].clientMetadata.application.name,
+ "MongoDB Shell",
+ tojson(result));
return true;
}