summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/sync_tail_test.cpp
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2017-05-20 20:48:07 -0400
committerBenety Goh <benety@mongodb.com>2017-05-23 15:26:56 -0400
commit8843aaa618789d12ef386f578c9a2d212413ee09 (patch)
tree050d565a6ab3c95c51df1e8e58a074d6805bc3ee /src/mongo/db/repl/sync_tail_test.cpp
parentdf10adbfe55f21e3476be508436345e03b12fddc (diff)
downloadmongo-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.cpp6
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*,