summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer_impl_test.cpp
diff options
context:
space:
mode:
authorJason Chan <jason.chan@10gen.com>2019-05-22 15:41:21 -0400
committerJason Chan <jason.chan@10gen.com>2019-05-22 15:41:21 -0400
commit76cf536d476b50994c75dd16ec5c7caca23759a5 (patch)
tree3362715b7b68d742c80dc21a9c900cdfb96572a7 /src/mongo/db/op_observer_impl_test.cpp
parentfabcd95aa7c86f673387fd0143b88013168d71d6 (diff)
downloadmongo-76cf536d476b50994c75dd16ec5c7caca23759a5.tar.gz
SERVER-40919 Remove stmtId from transaction oplog entries
Diffstat (limited to 'src/mongo/db/op_observer_impl_test.cpp')
-rw-r--r--src/mongo/db/op_observer_impl_test.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/db/op_observer_impl_test.cpp b/src/mongo/db/op_observer_impl_test.cpp
index f4b73434b70..5bb742454cc 100644
--- a/src/mongo/db/op_observer_impl_test.cpp
+++ b/src/mongo/db/op_observer_impl_test.cpp
@@ -2008,7 +2008,6 @@ TEST_F(OpObserverMultiEntryTransactionTest, CommitPreparedTest) {
}
oplogEntryObjs = getNOplogEntries(opCtx(), 3);
const auto commitOplogObj = oplogEntryObjs.back();
- // Statement id's for the insert and implicit prepare should be 0 and 1, respectively.
checkSessionAndTransactionFields(commitOplogObj);
auto commitEntry = assertGet(OplogEntry::parse(commitOplogObj));
auto o = commitEntry.getObject();
@@ -2083,7 +2082,6 @@ TEST_F(OpObserverMultiEntryTransactionTest, AbortPreparedTest) {
oplogEntryObjs = getNOplogEntries(opCtx(), 2);
auto abortOplogObj = oplogEntryObjs.back();
- // Statement id for the implicit prepare should be 0.
checkSessionAndTransactionFields(abortOplogObj);
auto abortEntry = assertGet(OplogEntry::parse(abortOplogObj));
auto o = abortEntry.getObject();