We have a small handful of tests that make use of ServiceContext pointers but are not derived from ServiceContextTest:
src/mongo/client/server_is_master_monitor_test.cpp src/mongo/client/server_ping_monitor_test.cpp src/mongo/db/operation_context_test.cpp src/mongo/util/future_util_test.cpp
We should convert them to be ServiceContextTest and become DRYer.
- related to
-
SERVER-48650 Unit tests' ServiceContext's NetworkInterfaceMockClockSource cannot continue to depend upon the lifetime of the ReplicationCoordinator to remain valid
- Closed