summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough
diff options
context:
space:
mode:
authorWilliam Schultz <william.schultz@mongodb.com>2019-09-24 16:15:11 +0000
committerevergreen <evergreen@mongodb.com>2019-09-24 16:15:11 +0000
commit7edbbc86d4ac06fddd3ab3482d2985392811032b (patch)
treead4d66101e04da85af78f679fb40b2abf7ced0a0 /jstests/noPassthrough
parent2f5feed026e1c22bce29cf2efe746d55879d4a14 (diff)
downloadmongo-7edbbc86d4ac06fddd3ab3482d2985392811032b.tar.gz
SERVER-42543 Remove conditional check for enableMajorityReadConcern:false in read_concern_snapshot_aggregation.js
Diffstat (limited to 'jstests/noPassthrough')
-rw-r--r--jstests/noPassthrough/read_concern_snapshot_aggregation.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/jstests/noPassthrough/read_concern_snapshot_aggregation.js b/jstests/noPassthrough/read_concern_snapshot_aggregation.js
index 2cb5fe26fd6..94682d3462e 100644
--- a/jstests/noPassthrough/read_concern_snapshot_aggregation.js
+++ b/jstests/noPassthrough/read_concern_snapshot_aggregation.js
@@ -39,11 +39,8 @@ function testSnapshotAggFailsWithCode(coll, pipeline, code) {
}
// Test that $changeStream is disallowed with transactions.
-// TODO SERVER-37221: Remove the check for 'supportsCommittedReads'.
-if (sessionDB.serverStatus().storageEngine.supportsCommittedReads) {
- testSnapshotAggFailsWithCode(
- kCollName, [{$changeStream: {}}], ErrorCodes.OperationNotSupportedInTransaction);
-}
+testSnapshotAggFailsWithCode(
+ kCollName, [{$changeStream: {}}], ErrorCodes.OperationNotSupportedInTransaction);
// Test that $collStats is disallowed with transactions.
testSnapshotAggFailsWithCode(