summaryrefslogtreecommitdiff
path: root/src/mongo/db/session_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/session_test.cpp')
-rw-r--r--src/mongo/db/session_test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/session_test.cpp b/src/mongo/db/session_test.cpp
index 0b0f3c728be..3c248646206 100644
--- a/src/mongo/db/session_test.cpp
+++ b/src/mongo/db/session_test.cpp
@@ -83,8 +83,7 @@ protected:
MockReplCoordServerFixture::setUp();
auto service = opCtx()->getServiceContext();
- SessionCatalog::reset_forTest(service);
- SessionCatalog::create(service);
+ SessionCatalog::get(service)->reset_forTest();
SessionCatalog::get(service)->onStepUp(opCtx());
}