summaryrefslogtreecommitdiff
path: root/jstests/change_streams/lookup_post_image.js
diff options
context:
space:
mode:
authorMax Hirschhorn <max.hirschhorn@mongodb.com>2017-09-20 14:15:00 -0400
committerMax Hirschhorn <max.hirschhorn@mongodb.com>2017-09-20 14:15:00 -0400
commit0195f34a7a61c75fd8fbaba6f8dae9671e2dd915 (patch)
tree63f9f41fae93f9b9c9efe5f993daf96dc7a0a0a9 /jstests/change_streams/lookup_post_image.js
parent44a2de49607e5340efc7e84d265216723d403add (diff)
downloadmongo-0195f34a7a61c75fd8fbaba6f8dae9671e2dd915.tar.gz
SERVER-30679 Integrate causallyConsistentReads into SessionOptions.
Diffstat (limited to 'jstests/change_streams/lookup_post_image.js')
-rw-r--r--jstests/change_streams/lookup_post_image.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/jstests/change_streams/lookup_post_image.js b/jstests/change_streams/lookup_post_image.js
index 44c1e8de956..fa9301fa142 100644
--- a/jstests/change_streams/lookup_post_image.js
+++ b/jstests/change_streams/lookup_post_image.js
@@ -21,7 +21,7 @@
// these synchronization points from this test.
assert.commandWorked(db.runCommand({
find: "foo",
- readConcern: {level: "local", afterClusterTime: db.getMongo().getOperationTime()}
+ readConcern: {level: "local", afterClusterTime: db.getSession().getOperationTime()}
}));
const cmdResponse = assert.commandWorked(
@@ -44,7 +44,7 @@
// TODO: SERVER-29126
assert.commandWorked(db.runCommand({
find: "foo",
- readConcern: {level: "local", afterClusterTime: db.getMongo().getOperationTime()}
+ readConcern: {level: "local", afterClusterTime: db.getSession().getOperationTime()}
}));
FixtureHelpers.awaitReplication();
// TODO: SERVER-29126
@@ -54,7 +54,7 @@
// these synchronization points from this test.
assert.commandWorked(db.runCommand({
find: "foo",
- readConcern: {level: "local", afterClusterTime: db.getMongo().getOperationTime()}
+ readConcern: {level: "local", afterClusterTime: db.getSession().getOperationTime()}
}));
FixtureHelpers.runCommandOnEachPrimary({
dbName: "admin",
@@ -285,7 +285,7 @@
// these synchronization points from this test.
assert.commandWorked(db.runCommand({
find: "foo",
- readConcern: {level: "local", afterClusterTime: db.getMongo().getOperationTime()}
+ readConcern: {level: "local", afterClusterTime: db.getSession().getOperationTime()}
}));
res = assert.commandWorked(db.runCommand({
@@ -302,7 +302,7 @@
// these synchronization points from this test.
assert.commandWorked(db.runCommand({
find: "foo",
- readConcern: {level: "local", afterClusterTime: db.getMongo().getOperationTime()}
+ readConcern: {level: "local", afterClusterTime: db.getSession().getOperationTime()}
}));
res = assert.commandWorked(db.runCommand({