summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/vector_clock_config_server_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/vector_clock_config_server_test.cpp')
-rw-r--r--src/mongo/db/s/vector_clock_config_server_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/s/vector_clock_config_server_test.cpp b/src/mongo/db/s/vector_clock_config_server_test.cpp
index 14694f697d0..f304b321323 100644
--- a/src/mongo/db/s/vector_clock_config_server_test.cpp
+++ b/src/mongo/db/s/vector_clock_config_server_test.cpp
@@ -42,12 +42,12 @@ namespace {
class VectorClockConfigServerTest : public ConfigServerTestFixture {
protected:
+ VectorClockConfigServerTest()
+ : ConfigServerTestFixture(Options{}.useMockClock(true), false /* setUpMajorityReads */) {}
+
void setUp() override {
ConfigServerTestFixture::setUp();
- auto clockSource = std::make_unique<ClockSourceMock>();
- getServiceContext()->setFastClockSource(std::move(clockSource));
-
auto keysCollectionClient = std::make_unique<KeysCollectionClientSharded>(
Grid::get(operationContext())->catalogClient());