summaryrefslogtreecommitdiff
path: root/jstests/change_streams
diff options
context:
space:
mode:
authorjannaerin <golden.janna@gmail.com>2019-07-01 15:40:56 -0400
committerjannaerin <golden.janna@gmail.com>2019-07-03 10:53:50 -0400
commit65398870c2ec0b13a39b586996b8355cfd73d136 (patch)
tree674b664c6ad2c9eec41fb05df6e1ded4e834d1ce /jstests/change_streams
parent1308268434fef5dc312dc80c59d161c4d7f325cf (diff)
downloadmongo-65398870c2ec0b13a39b586996b8355cfd73d136.tar.gz
SERVER-40848 Add debug logging to investigate difference in opTime returned by insert and changeStreams
Diffstat (limited to 'jstests/change_streams')
-rw-r--r--jstests/change_streams/shell_helper.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/jstests/change_streams/shell_helper.js b/jstests/change_streams/shell_helper.js
index a044ba76e50..766c425c3f7 100644
--- a/jstests/change_streams/shell_helper.js
+++ b/jstests/change_streams/shell_helper.js
@@ -15,6 +15,8 @@
const coll = assertDropAndRecreateCollection(db, "change_stream_shell_helper");
+ assert.commandWorked(db.adminCommand({"setParameter": 1, "logLevel": 5}));
+
function checkNextChange(cursor, expected) {
assert.soon(() => cursor.hasNext());
const nextObj = cursor.next();