summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2019-04-05 17:33:12 -0400
committerBenety Goh <benety@mongodb.com>2019-04-05 17:33:31 -0400
commitf8a74023fa0034ee96668348904f6f1493c6fef0 (patch)
tree1cc760a4247f486669976bee897d2288f9c14f5e /src/mongo/db/pipeline
parent20c33aa11ae2925d66b2df81e2ddb6813d81400a (diff)
downloadmongo-f8a74023fa0034ee96668348904f6f1493c6fef0.tar.gz
SERVER-40169 OplogEntry constructor accepts prepare argument
Diffstat (limited to 'src/mongo/db/pipeline')
-rw-r--r--src/mongo/db/pipeline/document_source_change_stream_test.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/document_source_change_stream_test.cpp b/src/mongo/db/pipeline/document_source_change_stream_test.cpp
index 2465b94da23..686b4a51670 100644
--- a/src/mongo/db/pipeline/document_source_change_stream_test.cpp
+++ b/src/mongo/db/pipeline/document_source_change_stream_test.cpp
@@ -310,7 +310,8 @@ public:
boost::none, // statement id
boost::none, // optime of previous write within same transaction
boost::none, // pre-image optime
- boost::none); // post-image optime
+ boost::none, // post-image optime
+ boost::none); // prepare
}
};
@@ -952,7 +953,8 @@ TEST_F(ChangeStreamStageTest, CommitCommandReturnsOperationsFromPreparedTransact
boost::none, // statement id
kPreparedTransactionOpTime, // optime of previous write within same transaction
boost::none, // pre-image optime
- boost::none); // post-image optime
+ boost::none, // post-image optime
+ boost::none); // prepare
// When the DocumentSourceChangeStreamTransform sees the "commitTransaction" oplog entry, we
// expect it to return the insert op within our 'preparedApplyOps' oplog entry.