diff options
Diffstat (limited to 'jstests/noPassthrough/read_concern_snapshot_aggregation.js')
-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( |