summaryrefslogtreecommitdiff
path: root/jstests/change_streams
diff options
context:
space:
mode:
authorCharlie Swanson <charlie.swanson@mongodb.com>2018-06-12 13:33:52 -0400
committerCharlie Swanson <charlie.swanson@mongodb.com>2018-06-15 13:41:22 -0400
commit4b23c5793849cb9a6943607d2a55d7306e61eed4 (patch)
tree157a12c0da40e51d6bc118f58f713ae73b5177a7 /jstests/change_streams
parent5d858f0f23909cff78603a33cb963a6df2759d84 (diff)
downloadmongo-4b23c5793849cb9a6943607d2a55d7306e61eed4.tar.gz
SERVER-35119 Remove 3.6 featureCompatibilityVersion checks
Diffstat (limited to 'jstests/change_streams')
-rw-r--r--jstests/change_streams/start_at_cluster_time.js15
1 files changed, 1 insertions, 14 deletions
diff --git a/jstests/change_streams/start_at_cluster_time.js b/jstests/change_streams/start_at_cluster_time.js
index 3fb6786437a..484de4c43c2 100644
--- a/jstests/change_streams/start_at_cluster_time.js
+++ b/jstests/change_streams/start_at_cluster_time.js
@@ -36,8 +36,7 @@
assert.eq(next.operationType, "update", tojson(next));
assert.eq(next.documentKey._id, 1, tojson(next));
- // Test that startAtOperationTime is not allowed alongside resumeAfter or
- // $_resumeAfterClusterTime.
+ // Test that startAtOperationTime is not allowed alongside resumeAfter.
assert.commandFailedWithCode(db.runCommand({
aggregate: coll.getName(),
pipeline:
@@ -46,18 +45,6 @@
}),
40674);
- assert.commandFailedWithCode(db.runCommand({
- aggregate: coll.getName(),
- pipeline: [{
- $changeStream: {
- startAtOperationTime: timeOfFirstUpdate,
- $_resumeAfterClusterTime: {ts: timeOfFirstUpdate}
- }
- }],
- cursor: {}
- }),
- 50573);
-
// Test that resuming from a time in the future will wait for that time to come.
let resumeTimeFarFuture = db.runCommand({isMaster: 1}).$clusterTime.clusterTime;
resumeTimeFarFuture =