diff options
author | Gregory Noma <gregory.noma@gmail.com> | 2022-04-07 15:05:30 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-04-07 19:58:16 +0000 |
commit | c9f9b3e5a9124c35b5e8c69ed89c47b4d5ab41a9 (patch) | |
tree | f4f936685423e9871aacb7e41df98328d2f68712 /src/mongo/db/s/vector_clock_shard_server_test.cpp | |
parent | f4398987e7222d2e55fec776bc7a2e3c44af42cf (diff) | |
download | mongo-c9f9b3e5a9124c35b5e8c69ed89c47b4d5ab41a9.tar.gz |
SERVER-65146 Run unit tests with `wiredTiger` by default
Diffstat (limited to 'src/mongo/db/s/vector_clock_shard_server_test.cpp')
-rw-r--r-- | src/mongo/db/s/vector_clock_shard_server_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/s/vector_clock_shard_server_test.cpp b/src/mongo/db/s/vector_clock_shard_server_test.cpp index 0674419fc34..de575294c3c 100644 --- a/src/mongo/db/s/vector_clock_shard_server_test.cpp +++ b/src/mongo/db/s/vector_clock_shard_server_test.cpp @@ -44,12 +44,12 @@ namespace { class VectorClockShardServerTest : public ShardServerTestFixture { protected: + VectorClockShardServerTest() + : ShardServerTestFixture(Options{}.useMockClock(true), false /* setUpMajorityReads */) {} + void setUp() override { ShardServerTestFixture::setUp(); - auto clockSource = std::make_unique<ClockSourceMock>(); - getServiceContext()->setFastClockSource(std::move(clockSource)); - auto keysCollectionClient = std::make_unique<KeysCollectionClientDirect>(); VectorClockMutable::get(getServiceContext()) |