diff options
author | Matthew Russotto <matthew.russotto@10gen.com> | 2020-04-03 11:46:20 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-04-03 20:16:45 +0000 |
commit | 5c8919c258ffbfef1f5f331162cacf50ccbd3aeb (patch) | |
tree | c58c79921fcd3ff533241404a1b08d29bc0a39bf /src/mongo | |
parent | 85a915d3b49c0cd0b106f40df55a68a2f6779de1 (diff) | |
download | mongo-5c8919c258ffbfef1f5f331162cacf50ccbd3aeb.tar.gz |
SERVER-47322 Use correct expected value in CursorIsDeadShutsDownOplogFetcherWithSuccessfulStatus
Diffstat (limited to 'src/mongo')
-rw-r--r-- | src/mongo/db/repl/oplog_fetcher_test.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/db/repl/oplog_fetcher_test.cpp b/src/mongo/db/repl/oplog_fetcher_test.cpp index 2161222f77c..39aea089f7e 100644 --- a/src/mongo/db/repl/oplog_fetcher_test.cpp +++ b/src/mongo/db/repl/oplog_fetcher_test.cpp @@ -1419,9 +1419,8 @@ TEST_F(OplogFetcherTest, CursorIsDeadShutsDownOplogFetcherWithSuccessfulStatus) auto m = processSingleRequestResponse(oplogFetcher->getDBClientConnection_forTest(), makeFirstBatch(cursorId, firstBatch, metadataObj)); - validateFindCommand(m, - oplogFetcher->getLastOpTimeFetched_forTest(), - durationCount<Milliseconds>(oplogFetcher->getInitialFindMaxTime_forTest())); + validateFindCommand( + m, lastFetched, durationCount<Milliseconds>(oplogFetcher->getInitialFindMaxTime_forTest())); // Check that the oplog fetcher has shut down to make sure it has processed the next batch // before verifying the batch's contents. |