summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/snapshot_cursor_integrity.js
diff options
context:
space:
mode:
authorTess Avitabile <tess.avitabile@mongodb.com>2018-06-11 17:48:36 -0400
committerTess Avitabile <tess.avitabile@mongodb.com>2018-06-14 10:26:16 -0400
commit7fb0ba7016a7af44532f49088bcf698ac3815860 (patch)
treea8b48a3bc20c5745b3088a07e455eaf84e842e7b /jstests/noPassthrough/snapshot_cursor_integrity.js
parent33ea303e386cef960015143e1ff396102b2bc5ac (diff)
downloadmongo-7fb0ba7016a7af44532f49088bcf698ac3815860.tar.gz
SERVER-35513 Forbid transactions on inMemory storage engine
(cherry picked from commit 0b103f9904fe7dfc88d8a1077cf01c30cdd330d0)
Diffstat (limited to 'jstests/noPassthrough/snapshot_cursor_integrity.js')
-rw-r--r--jstests/noPassthrough/snapshot_cursor_integrity.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/jstests/noPassthrough/snapshot_cursor_integrity.js b/jstests/noPassthrough/snapshot_cursor_integrity.js
index d5d0678a641..859dd713ad5 100644
--- a/jstests/noPassthrough/snapshot_cursor_integrity.js
+++ b/jstests/noPassthrough/snapshot_cursor_integrity.js
@@ -1,6 +1,6 @@
// Tests that a cursor is iterated in a transaction/session iff it was created in that
// transaction/session. Specifically tests this in the context of snapshot cursors.
-// @tags: [requires_replication]
+// @tags: [uses_transactions]
(function() {
"use strict";
@@ -12,10 +12,6 @@
rst.initiate();
const primaryDB = rst.getPrimary().getDB(dbName);
- if (!primaryDB.serverStatus().storageEngine.supportsSnapshotReadConcern) {
- rst.stopSet();
- return;
- }
const session1 = primaryDB.getMongo().startSession();
const sessionDB1 = session1.getDatabase(dbName);