diff options
author | Randolph Tan <randolph@10gen.com> | 2017-07-25 17:21:33 -0400 |
---|---|---|
committer | Randolph Tan <randolph@10gen.com> | 2017-07-28 17:04:26 -0400 |
commit | 01dfdbcc283551e9128b769e3c8852162370dd68 (patch) | |
tree | f7de2784ce338767f9e4cd5e10f299e33469fae5 /jstests/sharding/session_info_in_oplog.js | |
parent | a7ee3ed417899aa9bc0fcf0493371796075d7da9 (diff) | |
download | mongo-01dfdbcc283551e9128b769e3c8852162370dd68.tar.gz |
SERVER-30326 Write basic tests for insert, update and delete
Diffstat (limited to 'jstests/sharding/session_info_in_oplog.js')
-rw-r--r-- | jstests/sharding/session_info_in_oplog.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/session_info_in_oplog.js b/jstests/sharding/session_info_in_oplog.js index f624fdc69e8..8216f383495 100644 --- a/jstests/sharding/session_info_in_oplog.js +++ b/jstests/sharding/session_info_in_oplog.js @@ -19,7 +19,7 @@ var checkSessionCatalog = function(conn, sessionId, uid, txnNum, expectedTs) { var coll = conn.getDB('config').transactions; - var sessionDoc = coll.findOne({'_id': { id: sessionId, uid: uid }}); + var sessionDoc = coll.findOne({'_id': {id: sessionId, uid: uid}}); assert.eq(txnNum, sessionDoc.txnNum); assert.eq(expectedTs.getTime(), sessionDoc.lastWriteOpTimeTs.getTime()); |