summaryrefslogtreecommitdiff
path: root/src/mongo/db/service_liason_mock.cpp
diff options
context:
space:
mode:
authorsamantharitter <samantha.ritter@10gen.com>2017-08-01 15:50:37 -0400
committersamantharitter <samantha.ritter@10gen.com>2017-08-02 19:21:34 -0400
commit68051585b17682c1e13acdf440b2c78868054513 (patch)
tree1b677a81d5ef5d801a69cd9ce7fa7a9d7aac6295 /src/mongo/db/service_liason_mock.cpp
parent0eea3fc035718c7ae6fc570670f1c51f8f3d71a5 (diff)
downloadmongo-68051585b17682c1e13acdf440b2c78868054513.tar.gz
SERVER-29201 Implement SessionsCollectionStandalone
Diffstat (limited to 'src/mongo/db/service_liason_mock.cpp')
-rw-r--r--src/mongo/db/service_liason_mock.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/service_liason_mock.cpp b/src/mongo/db/service_liason_mock.cpp
index 4c2ba699acb..821de302e02 100644
--- a/src/mongo/db/service_liason_mock.cpp
+++ b/src/mongo/db/service_liason_mock.cpp
@@ -56,7 +56,8 @@ Date_t MockServiceLiasonImpl::now() const {
}
void MockServiceLiasonImpl::scheduleJob(PeriodicRunner::PeriodicJob job) {
- _runner->scheduleJob(std::move(job));
+ // The cache should be refreshed from tests by calling refreshNow().
+ return;
}
void MockServiceLiasonImpl::add(LogicalSessionId lsid) {