diff options
Diffstat (limited to 'src/mongo/db/session_catalog_test.cpp')
-rw-r--r-- | src/mongo/db/session_catalog_test.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/session_catalog_test.cpp b/src/mongo/db/session_catalog_test.cpp index cc8ee4ba9b9..0d5f4e9122a 100644 --- a/src/mongo/db/session_catalog_test.cpp +++ b/src/mongo/db/session_catalog_test.cpp @@ -45,6 +45,11 @@ protected: ServiceContextMongoDTest::setUp(); SessionCatalog::create(getServiceContext()); } + + void tearDown() final { + SessionCatalog::reset_forTest(getServiceContext()); + ServiceContextMongoDTest::tearDown(); + } }; TEST_F(SessionCatalogTest, CheckoutAndReleaseSession) { |