diff options
author | Samyukta Lanka <samy.lanka@mongodb.com> | 2019-10-16 20:54:38 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-10-16 20:54:38 +0000 |
commit | 9a9b82e95a88c5ce25c958690c2d3365bc62bacc (patch) | |
tree | b7d6ce480dccf68933eaba2340074ba2cf7bbceb /src/mongo/db/pipeline/document_source_change_stream_test.cpp | |
parent | c9349a22f68fac52f6056fb08ea3ce0993dd8cbe (diff) | |
download | mongo-9a9b82e95a88c5ce25c958690c2d3365bc62bacc.tar.gz |
SERVER-43239 Fixed bug causing numCatchUpOps in repSetGetStatus to be incorrect
(cherry picked from commit 71e4779b0da9e8d58dbb179c49b1a86c5e48c93d)
SERVER-41512 Added tracking for metrics around a node voting in an election
(cherry picked from commit 7538504cb584720c2cbbc6d44ea62d0743b41fcf)
SERVER-41513 Track the time the new term oplog entry was written by primary and applied in secondary
(cherry picked from commit efde009845f32d8de2d094088628e67608bfa419)
Diffstat (limited to 'src/mongo/db/pipeline/document_source_change_stream_test.cpp')
-rw-r--r-- | src/mongo/db/pipeline/document_source_change_stream_test.cpp | 8 |
1 files changed, 4 insertions, 4 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 501045ceadf..eb2583f705b 100644 --- a/src/mongo/db/pipeline/document_source_change_stream_test.cpp +++ b/src/mongo/db/pipeline/document_source_change_stream_test.cpp @@ -1423,8 +1423,8 @@ TEST_F(ChangeStreamStageTest, MatchFiltersCreateCollection) { TEST_F(ChangeStreamStageTest, MatchFiltersNoOp) { auto noOp = makeOplogEntry(OpTypeEnum::kNoop, // op type {}, // namespace - BSON("msg" - << "new primary")); // o + BSON(repl::ReplicationCoordinator::newPrimaryMsgField + << repl::ReplicationCoordinator::newPrimaryMsg)); // o checkTransformation(noOp, boost::none); } @@ -2076,8 +2076,8 @@ TEST_F(ChangeStreamStageDBTest, RenameFromUserToSystemCollectionShouldIncludeNot TEST_F(ChangeStreamStageDBTest, MatchFiltersNoOp) { OplogEntry noOp = makeOplogEntry(OpTypeEnum::kNoop, NamespaceString(), - BSON("msg" - << "new primary")); + BSON(repl::ReplicationCoordinator::newPrimaryMsgField + << repl::ReplicationCoordinator::newPrimaryMsg)); checkTransformation(noOp, boost::none); } |