summaryrefslogtreecommitdiff
path: root/src/mongo/s/config_server_test_fixture.cpp
diff options
context:
space:
mode:
authorSiyuan Zhou <siyuan.zhou@mongodb.com>2016-11-06 01:33:50 -0400
committerSiyuan Zhou <siyuan.zhou@mongodb.com>2016-11-06 01:33:50 -0400
commitd23e79eb9e69bd746416d9f674dfaee59457c887 (patch)
tree7ae8940e36d5ae51bb4eadd1318860ca212e8c3f /src/mongo/s/config_server_test_fixture.cpp
parent0ac04999faae1d2fc0e10972aaf21082a2e48c8f (diff)
downloadmongo-d23e79eb9e69bd746416d9f674dfaee59457c887.tar.gz
Revert "SERVER-26202 Relax index constraints in oplog application"
This reverts commit f00448255bbb24c07e2f55e7e229f19e316350a6.
Diffstat (limited to 'src/mongo/s/config_server_test_fixture.cpp')
-rw-r--r--src/mongo/s/config_server_test_fixture.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/s/config_server_test_fixture.cpp b/src/mongo/s/config_server_test_fixture.cpp
index 95189db6ae5..4261d037073 100644
--- a/src/mongo/s/config_server_test_fixture.cpp
+++ b/src/mongo/s/config_server_test_fixture.cpp
@@ -46,7 +46,6 @@
#include "mongo/db/repl/oplog.h"
#include "mongo/db/repl/read_concern_args.h"
#include "mongo/db/repl/repl_settings.h"
-#include "mongo/db/repl/replication_coordinator_mock.h"
#include "mongo/executor/network_interface_mock.h"
#include "mongo/executor/task_executor_pool.h"
#include "mongo/executor/thread_pool_task_executor_test_fixture.h"
@@ -99,9 +98,6 @@ ConfigServerTestFixture::~ConfigServerTestFixture() = default;
void ConfigServerTestFixture::setUp() {
ShardingMongodTestFixture::setUp();
- // TODO: SERVER-26919 set the flag on the mock repl coordinator just for the window where it
- // actually needs to bypass the op observer.
- replicationCoordinator()->alwaysAllowWrites(true);
// Initialize sharding components as a config server.
serverGlobalParams.clusterRole = ClusterRole::ConfigServer;