diff options
author | Geert Bosch <geert@mongodb.com> | 2016-12-08 00:01:36 -0500 |
---|---|---|
committer | Geert Bosch <geert@mongodb.com> | 2016-12-08 13:52:05 -0500 |
commit | 38990ad5a23445474fa4fb888c6bc775ac90b073 (patch) | |
tree | 94a414e74851a3e82b232df80fcb1c25edf4c2e4 /jstests/repl | |
parent | 78f62c485a390f79c84baea51d840aaa8fb9c999 (diff) | |
download | mongo-38990ad5a23445474fa4fb888c6bc775ac90b073.tar.gz |
SERVER-27340 Add more info in case of unexpected extra op in oplog
Diffstat (limited to 'jstests/repl')
-rw-r--r-- | jstests/repl/master1.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/repl/master1.js b/jstests/repl/master1.js index 85f116fb242..2f5ba3e11eb 100644 --- a/jstests/repl/master1.js +++ b/jstests/repl/master1.js @@ -35,7 +35,7 @@ assert.commandWorked(m.getDB("local").runCommand({godinsert: "oplog.$main", obj: rt.stop(true); m = rt.start(true, null, true); -assert.eq(op.ts.t, lastop().ts.t); +assert.eq(op.ts.t, lastop().ts.t, tojson({lastop: lastop()})); am().save({}); assert.eq(op.ts.t, lastop().ts.t); assert.eq(op.ts.i + 1, lastop().ts.i); |