diff options
author | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2015-07-29 18:02:37 -0400 |
---|---|---|
committer | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2015-09-23 14:50:56 -0400 |
commit | 2c1facf471cce8254e314755c3c7d2fbc753e5f4 (patch) | |
tree | 8e3f51519dd151cda6799dd52e6d0640c4a0ec05 /jstests/replsets/oplog_note_cmd.js | |
parent | 75115dfaab9da2854b0fd892ce029781afea2731 (diff) | |
download | mongo-2c1facf471cce8254e314755c3c7d2fbc753e5f4.tar.gz |
SERVER-18498 New replica set configurations have protocolVersion=1 by default
Diffstat (limited to 'jstests/replsets/oplog_note_cmd.js')
-rw-r--r-- | jstests/replsets/oplog_note_cmd.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/oplog_note_cmd.js b/jstests/replsets/oplog_note_cmd.js index 25e60e0a94c..4a501211cd6 100644 --- a/jstests/replsets/oplog_note_cmd.js +++ b/jstests/replsets/oplog_note_cmd.js @@ -12,7 +12,7 @@ db.foo.insert({a:1}); var statusBefore = db.runCommand({replSetGetStatus: 1}); assert.commandWorked(db.runCommand({appendOplogNote: 1, data: {a: 1}})); var statusAfter = db.runCommand({replSetGetStatus: 1}); -assert.lt(statusBefore.members[0].optime, statusAfter.members[0].optime); +assert.lt(statusBefore.members[0].optime.ts, statusAfter.members[0].optime.ts); // Make sure note written successfully var op = db.getSiblingDB('local').oplog.rs.find().sort({$natural: -1}).limit(1).next(); |