diff options
Diffstat (limited to 'src/mongo/db/session_test.cpp')
-rw-r--r-- | src/mongo/db/session_test.cpp | 3 |
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()); } |