diff options
Diffstat (limited to 'src/mongo/db/session')
| -rw-r--r-- | src/mongo/db/session/internal_session_pool_test.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/session/internal_session_pool_test.cpp b/src/mongo/db/session/internal_session_pool_test.cpp index 6a1603922d2..b0ae0c5c1df 100644 --- a/src/mongo/db/session/internal_session_pool_test.cpp +++ b/src/mongo/db/session/internal_session_pool_test.cpp @@ -52,6 +52,10 @@ public: _opCtx = makeOperationContext(); } + void tearDown() override { + serverGlobalParams.clusterRole = ClusterRole::None; + } + OperationContext* opCtx() const { return _opCtx.get(); } |
