summaryrefslogtreecommitdiff
path: root/src/mongo/db/transaction_participant_retryable_writes_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/transaction_participant_retryable_writes_test.cpp')
-rw-r--r--src/mongo/db/transaction_participant_retryable_writes_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/transaction_participant_retryable_writes_test.cpp b/src/mongo/db/transaction_participant_retryable_writes_test.cpp
index 7203a1c1ddf..a9ffbfaf35c 100644
--- a/src/mongo/db/transaction_participant_retryable_writes_test.cpp
+++ b/src/mongo/db/transaction_participant_retryable_writes_test.cpp
@@ -64,7 +64,7 @@ repl::OplogEntry makeOplogEntry(repl::OpTime opTime,
repl::OpTypeEnum opType,
BSONObj object,
OperationSessionInfo sessionInfo,
- boost::optional<Date_t> wallClockTime,
+ Date_t wallClockTime,
boost::optional<StmtId> stmtId,
boost::optional<repl::OpTime> prevWriteOpTimeInTransaction) {
return repl::OplogEntry(
@@ -554,7 +554,7 @@ TEST_F(TransactionParticipantRetryableWritesTest, IncompleteHistoryDueToOpLogTru
sessionRecord.setSessionId(sessionId);
sessionRecord.setTxnNum(txnNum);
sessionRecord.setLastWriteOpTime(entry2.getOpTime());
- sessionRecord.setLastWriteDate(*entry2.getWallClockTime());
+ sessionRecord.setLastWriteDate(entry2.getWallClockTime());
return sessionRecord.toBSON();
}());
}