diff options
author | Benety Goh <benety@mongodb.com> | 2017-05-20 20:48:07 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2017-05-23 15:26:56 -0400 |
commit | 8843aaa618789d12ef386f578c9a2d212413ee09 (patch) | |
tree | 050d565a6ab3c95c51df1e8e58a074d6805bc3ee /src/mongo/db/repl/sync_tail_test.cpp | |
parent | df10adbfe55f21e3476be508436345e03b12fddc (diff) | |
download | mongo-8843aaa618789d12ef386f578c9a2d212413ee09.tar.gz |
SERVER-29274 update repl and op observer tests to use new ReplicationCoordinatorMock with default replset settings
Diffstat (limited to 'src/mongo/db/repl/sync_tail_test.cpp')
-rw-r--r-- | src/mongo/db/repl/sync_tail_test.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mongo/db/repl/sync_tail_test.cpp b/src/mongo/db/repl/sync_tail_test.cpp index 98ea1e71399..6b893f22e3e 100644 --- a/src/mongo/db/repl/sync_tail_test.cpp +++ b/src/mongo/db/repl/sync_tail_test.cpp @@ -108,13 +108,9 @@ public: void SyncTailTest::setUp() { ServiceContextMongoDTest::setUp(); - ReplSettings replSettings; - replSettings.setOplogSizeBytes(5 * 1024 * 1024); - replSettings.setReplSetString("repl"); auto service = getServiceContext(); - ReplicationCoordinator::set( - service, stdx::make_unique<ReplicationCoordinatorMock>(service, replSettings)); + ReplicationCoordinator::set(service, stdx::make_unique<ReplicationCoordinatorMock>(service)); auto storageInterface = stdx::make_unique<StorageInterfaceMock>(); _storageInterface = storageInterface.get(); storageInterface->insertDocumentsFn = [](OperationContext*, |