summaryrefslogtreecommitdiff
path: root/jstests/core
diff options
context:
space:
mode:
authorTed Tuckman <ted.tuckman@mongodb.com>2018-10-09 15:11:00 -0400
committerTed Tuckman <ted.tuckman@mongodb.com>2018-10-10 15:32:32 -0400
commita6b69577d2576c857cbb971448e432ec4a50c08e (patch)
tree8c5a4cd339a2467da020a20fbdb189473f11b9f1 /jstests/core
parent796d1d15226e546485d356f1c41d94e8d11281ca (diff)
downloadmongo-a6b69577d2576c857cbb971448e432ec4a50c08e.tar.gz
SERVER-37460 Add type to all currentOp documents
Diffstat (limited to 'jstests/core')
-rw-r--r--jstests/core/currentop.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/core/currentop.js b/jstests/core/currentop.js
index a88c0ded2bf..e4c94dd67ea 100644
--- a/jstests/core/currentop.js
+++ b/jstests/core/currentop.js
@@ -38,7 +38,8 @@
{ns: coll.getFullName()},
{ns: db.$cmd.getFullName(), "command.insert": coll.getName()}
]
- }
+ },
+ {type: "op"}
]
});
return ops.inprog.length === 1;