diff options
author | William Schultz <william.schultz@mongodb.com> | 2019-09-24 16:15:11 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-09-24 16:15:11 +0000 |
commit | 7edbbc86d4ac06fddd3ab3482d2985392811032b (patch) | |
tree | ad4d66101e04da85af78f679fb40b2abf7ced0a0 /jstests/noPassthrough | |
parent | 2f5feed026e1c22bce29cf2efe746d55879d4a14 (diff) | |
download | mongo-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.js | 7 |
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( |