summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/snapshot_cursor_shutdown_stepdown.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:24:38 -0400
commit0b103f9904fe7dfc88d8a1077cf01c30cdd330d0 (patch)
tree40c6bd64b8aac26312ece8cf0d0e38046085bd92 /jstests/noPassthrough/snapshot_cursor_shutdown_stepdown.js
parent4032e639eace4d16689ad445a8492fb9b03ddf70 (diff)
downloadmongo-0b103f9904fe7dfc88d8a1077cf01c30cdd330d0.tar.gz
SERVER-35513 Forbid transactions on inMemory storage engine
Diffstat (limited to 'jstests/noPassthrough/snapshot_cursor_shutdown_stepdown.js')
-rw-r--r--jstests/noPassthrough/snapshot_cursor_shutdown_stepdown.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/jstests/noPassthrough/snapshot_cursor_shutdown_stepdown.js b/jstests/noPassthrough/snapshot_cursor_shutdown_stepdown.js
index 8d60e290d7d..ec2cbfd5254 100644
--- a/jstests/noPassthrough/snapshot_cursor_shutdown_stepdown.js
+++ b/jstests/noPassthrough/snapshot_cursor_shutdown_stepdown.js
@@ -1,5 +1,5 @@
// Tests that stashed transaction resources are destroyed at shutdown and stepdown.
-// @tags: [requires_replication]
+// @tags: [uses_transactions]
(function() {
"use strict";
@@ -15,10 +15,6 @@
rst.initiate();
let primaryDB = rst.getPrimary().getDB(dbName);
- if (!primaryDB.serverStatus().storageEngine.supportsSnapshotReadConcern) {
- rst.stopSet();
- return;
- }
let session = primaryDB.getMongo().startSession();
let sessionDB = session.getDatabase(dbName);