diff options
author | Ted Tuckman <ted.tuckman@mongodb.com> | 2018-10-09 15:11:00 -0400 |
---|---|---|
committer | Ted Tuckman <ted.tuckman@mongodb.com> | 2018-10-10 15:32:32 -0400 |
commit | a6b69577d2576c857cbb971448e432ec4a50c08e (patch) | |
tree | 8c5a4cd339a2467da020a20fbdb189473f11b9f1 /jstests/core | |
parent | 796d1d15226e546485d356f1c41d94e8d11281ca (diff) | |
download | mongo-a6b69577d2576c857cbb971448e432ec4a50c08e.tar.gz |
SERVER-37460 Add type to all currentOp documents
Diffstat (limited to 'jstests/core')
-rw-r--r-- | jstests/core/currentop.js | 3 |
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; |