diff options
author | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2018-04-03 18:27:56 -0400 |
---|---|---|
committer | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2018-04-17 12:03:10 -0400 |
commit | fcf41ce8ddf70894ed6803420e94a1685cc60903 (patch) | |
tree | 79de3abcf16f4ad6b9029c7ff3a63504963bb338 /jstests/noPassthrough/read_concern_snapshot_yielding.js | |
parent | dc4832736957d840760af6557d65dcf28cd81063 (diff) | |
download | mongo-fcf41ce8ddf70894ed6803420e94a1685cc60903.tar.gz |
SERVER-34094 Change snapshot read tests to use multi-statement transactions
Diffstat (limited to 'jstests/noPassthrough/read_concern_snapshot_yielding.js')
-rw-r--r-- | jstests/noPassthrough/read_concern_snapshot_yielding.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/jstests/noPassthrough/read_concern_snapshot_yielding.js b/jstests/noPassthrough/read_concern_snapshot_yielding.js index 69b302434b1..10fdada1f47 100644 --- a/jstests/noPassthrough/read_concern_snapshot_yielding.js +++ b/jstests/noPassthrough/read_concern_snapshot_yielding.js @@ -259,6 +259,8 @@ assert.eq(res.cursor.firstBatch.length, TestData.numDocs, tojson(res)); }, {"command.pipeline": [{$match: {x: 1}}]}, {"command.pipeline": [{$match: {x: 1}}]}); + // TODO: SERVER-34113 Remove this test when we completely remove snapshot + // reads since this command is not supported with transaction api. // Test geoNear. testCommand(function() { const res = assert.commandWorked(db.runCommand({ |