diff options
Diffstat (limited to 'src/mongo/db/session_test.cpp')
-rw-r--r-- | src/mongo/db/session_test.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/mongo/db/session_test.cpp b/src/mongo/db/session_test.cpp index 15cbcd8ba27..a7b1690b369 100644 --- a/src/mongo/db/session_test.cpp +++ b/src/mongo/db/session_test.cpp @@ -84,8 +84,17 @@ protected: repl::OplogLink link; link.prevOpTime = prevOpTime; - return repl::logOp( - opCtx, "n", nss, kUUID, BSON("TestValue" << 0), nullptr, false, osi, stmtId, link); + return repl::logOp(opCtx, + "n", + nss, + kUUID, + BSON("TestValue" << 0), + nullptr, + false, + Date_t::now(), + osi, + stmtId, + link); } }; |