summaryrefslogtreecommitdiff
path: root/jstests/sharding/resume_change_stream.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/resume_change_stream.js')
-rw-r--r--jstests/sharding/resume_change_stream.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/resume_change_stream.js b/jstests/sharding/resume_change_stream.js
index 4f224007389..53396973a7c 100644
--- a/jstests/sharding/resume_change_stream.js
+++ b/jstests/sharding/resume_change_stream.js
@@ -130,7 +130,7 @@
ChangeStreamTest.assertChangeStreamThrowsCode({
db: mongosDB,
collName: collToWatch,
- pipeline: [{$changeStream: {startAtClusterTime: {ts: resumeTimeFirstUpdate}}}],
+ pipeline: [{$changeStream: {startAtOperationTime: resumeTimeFirstUpdate}}],
expectedCode: 40576
});