-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Internal Code
-
None
-
Fully Compatible
-
v4.0, v3.6
-
61
The code in the subclasses of ServiceContext could be easily moved into a single, separate library of global free functions that operate on instances of ServiceContext. This would allow us to get rid of the various subclasses of ServiceContext, allowing us to simplify testing infrastructure.
- causes
-
SERVER-35784 Fix ambiguously named test fixture in `commands_test.cpp`
- Closed
-
SERVER-35985 sessions_test and sharding_catalog_manager_test don't destroy all Clients before destroying the ServiceContext
- Closed
-
SERVER-36351 ServiceContextMongoDTest doesn't persist TempDir correctly
- Closed
- related to
-
SERVER-36400 Explicitly destroy the client on exiting the run body of each BackgroundJob
- Closed