summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_lookup_change_post_image_test.cpp
diff options
context:
space:
mode:
authorCharlie Swanson <charlie.swanson@mongodb.com>2017-11-07 16:58:37 +0000
committerCharlie Swanson <charlie.swanson@mongodb.com>2017-11-17 17:20:45 -0500
commitf7122973bd8001bb8dd393b7ad7851493b8b7743 (patch)
tree13614d9c57256c1b374e45d5a2a676ac518813a5 /src/mongo/db/pipeline/document_source_lookup_change_post_image_test.cpp
parenta40d277a1c7a735e4d7ed5cf394e23181f8620fb (diff)
downloadmongo-f7122973bd8001bb8dd393b7ad7851493b8b7743.tar.gz
SERVER-31665 Use correct read concern/preference during update lookup
Diffstat (limited to 'src/mongo/db/pipeline/document_source_lookup_change_post_image_test.cpp')
-rw-r--r--src/mongo/db/pipeline/document_source_lookup_change_post_image_test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source_lookup_change_post_image_test.cpp b/src/mongo/db/pipeline/document_source_lookup_change_post_image_test.cpp
index 3d35f875619..1d003c9c09e 100644
--- a/src/mongo/db/pipeline/document_source_lookup_change_post_image_test.cpp
+++ b/src/mongo/db/pipeline/document_source_lookup_change_post_image_test.cpp
@@ -115,7 +115,8 @@ public:
boost::optional<Document> lookupSingleDocument(const NamespaceString& nss,
UUID collectionUUID,
- const Document& documentKey) {
+ const Document& documentKey,
+ boost::optional<BSONObj> readConcern) {
boost::intrusive_ptr<ExpressionContextForTest> expCtx(new ExpressionContextForTest(nss));
auto swPipeline = makePipeline({BSON("$match" << documentKey)}, expCtx);
if (swPipeline == ErrorCodes::NamespaceNotFound) {