diff options
author | matt dannenberg <matt.dannenberg@10gen.com> | 2015-09-28 05:47:57 -0400 |
---|---|---|
committer | matt dannenberg <matt.dannenberg@10gen.com> | 2015-10-01 08:00:10 -0400 |
commit | d789bca4c9fe76cd4d5375e66e281ed5a349e8fd (patch) | |
tree | d98b551b8e00ba0c320666f855f3c878414a990a /jstests/replsets/oplog_note_cmd.js | |
parent | 1cd101f5bdaae56d67ba7df527da5c6e9352620b (diff) | |
download | mongo-d789bca4c9fe76cd4d5375e66e281ed5a349e8fd.tar.gz |
SERVER-18498 New replica set configurations have protocolVersion=1 by default
This re-adds Siyuan's work from commits 19d2885ec51768ab73eee0c7239d8eadc0c51d8d and 362aac3937e3ff39ee995919a529297488537191.
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(); |