diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-03-01 11:52:42 -0500 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-03-01 18:41:01 -0500 |
commit | 605479fd4bb6b31fcc1e495d6bcf55234c0b68a4 (patch) | |
tree | 4d67ead533e83db5bb3db3a09bd8188b237f3cee /src/mongo/s/sharding_mongod_test_fixture.cpp | |
parent | 74720a72751c92bcb363d31c8a016e158771267e (diff) | |
download | mongo-605479fd4bb6b31fcc1e495d6bcf55234c0b68a4.tar.gz |
SERVER-28155 Get rid of the 'serveronly' sharding library
Fold its contents in the mongod-side of sharding.
Diffstat (limited to 'src/mongo/s/sharding_mongod_test_fixture.cpp')
-rw-r--r-- | src/mongo/s/sharding_mongod_test_fixture.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/s/sharding_mongod_test_fixture.cpp b/src/mongo/s/sharding_mongod_test_fixture.cpp index 96694e87e77..53e0fcd62d9 100644 --- a/src/mongo/s/sharding_mongod_test_fixture.cpp +++ b/src/mongo/s/sharding_mongod_test_fixture.cpp @@ -70,7 +70,6 @@ #include "mongo/s/grid.h" #include "mongo/s/query/cluster_cursor_manager.h" #include "mongo/s/set_shard_version_request.h" -#include "mongo/s/sharding_egress_metadata_hook_for_mongod.h" #include "mongo/s/write_ops/batched_command_request.h" #include "mongo/s/write_ops/batched_command_response.h" #include "mongo/stdx/memory.h" @@ -86,7 +85,6 @@ using executor::RemoteCommandResponse; using repl::ReplicationCoordinator; using repl::ReplicationCoordinatorMock; using repl::ReplSettings; -using rpc::ShardingEgressMetadataHookForMongod; using unittest::assertGet; using std::string; @@ -140,8 +138,6 @@ std::unique_ptr<executor::TaskExecutorPool> ShardingMongodTestFixture::makeTaskE // threads, tasks in the NetworkInterfaceMock must be carried out synchronously by the (single) // thread the unit test is running on. auto netForFixedTaskExecutor = stdx::make_unique<executor::NetworkInterfaceMock>(); - netForFixedTaskExecutor->setEgressMetadataHook( - stdx::make_unique<ShardingEgressMetadataHookForMongod>()); _mockNetwork = netForFixedTaskExecutor.get(); // Set up a ThreadPoolTaskExecutor. Note, for local tasks this TaskExecutor uses a @@ -156,8 +152,6 @@ std::unique_ptr<executor::TaskExecutorPool> ShardingMongodTestFixture::makeTaskE // Set up a NetworkInterfaceMock for the (one) arbitrary TaskExecutor that will go in the set // of arbitrary TaskExecutors. auto netForArbitraryExecutor = stdx::make_unique<executor::NetworkInterfaceMock>(); - netForArbitraryExecutor->setEgressMetadataHook( - stdx::make_unique<ShardingEgressMetadataHookForMongod>()); // Set up (one) TaskExecutor for the set of arbitrary TaskExecutors. auto arbitraryExecutorForExecutorPool = |