diff options
Diffstat (limited to 'src/mongo/db/repl/sync_tail_test_fixture.cpp')
-rw-r--r-- | src/mongo/db/repl/sync_tail_test_fixture.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mongo/db/repl/sync_tail_test_fixture.cpp b/src/mongo/db/repl/sync_tail_test_fixture.cpp index a67817924ba..c9998c89660 100644 --- a/src/mongo/db/repl/sync_tail_test_fixture.cpp +++ b/src/mongo/db/repl/sync_tail_test_fixture.cpp @@ -36,6 +36,7 @@ #include "mongo/db/repl/replication_consistency_markers_mock.h" #include "mongo/db/repl/replication_coordinator_mock.h" #include "mongo/db/repl/replication_process.h" +#include "mongo/db/repl/replication_recovery_mock.h" #include "mongo/db/repl/storage_interface_mock.h" namespace mongo { @@ -56,8 +57,10 @@ void SyncTailTest::setUp() { DropPendingCollectionReaper::set( service, stdx::make_unique<DropPendingCollectionReaper>(_storageInterface)); - _replicationProcess = new ReplicationProcess( - _storageInterface, stdx::make_unique<ReplicationConsistencyMarkersMock>()); + _replicationProcess = + new ReplicationProcess(_storageInterface, + stdx::make_unique<ReplicationConsistencyMarkersMock>(), + stdx::make_unique<ReplicationRecoveryMock>()); ReplicationProcess::set(cc().getServiceContext(), std::unique_ptr<ReplicationProcess>(_replicationProcess)); |