diff options
Diffstat (limited to 'jstests/replsets/dbhash_lock_acquisition.js')
-rw-r--r-- | jstests/replsets/dbhash_lock_acquisition.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/jstests/replsets/dbhash_lock_acquisition.js b/jstests/replsets/dbhash_lock_acquisition.js index e8b7ff9cbad..8c14e159e24 100644 --- a/jstests/replsets/dbhash_lock_acquisition.js +++ b/jstests/replsets/dbhash_lock_acquisition.js @@ -1,6 +1,7 @@ /** * Tests that the dbHash command acquires IX mode locks on the global, database, and collection * resources when running inside a multi-statement transaction. + * @tags: [uses_transactions] */ (function() { "use strict"; @@ -12,11 +13,6 @@ const primary = rst.getPrimary(); const db = primary.getDB("test"); - if (!db.serverStatus().storageEngine.supportsSnapshotReadConcern) { - rst.stopSet(); - return; - } - const session = primary.startSession({causalConsistency: false}); const sessionDB = session.getDatabase(db.getName()); |