diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2015-07-14 18:08:54 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2015-07-21 14:39:26 -0400 |
commit | 1bfa39c1d841e20cda3e198f57adf4eca0ebb653 (patch) | |
tree | 785e9f2db674afeb319b4a09bd670563d18ca471 /src/mongo/dbtests/merge_chunk_tests.cpp | |
parent | 923fcee186e7f1f4a908c9a8ff62fb30c23d5dc5 (diff) | |
download | mongo-1bfa39c1d841e20cda3e198f57adf4eca0ebb653.tar.gz |
SERVER-19395 Write commands should use ShardConnection
With this change all legacy-style (non-NetworkInterface) communication
from mongos to shard mongod is going through ShardConnection and will
always end the shard initialization data at connection establishment.
Diffstat (limited to 'src/mongo/dbtests/merge_chunk_tests.cpp')
-rw-r--r-- | src/mongo/dbtests/merge_chunk_tests.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/dbtests/merge_chunk_tests.cpp b/src/mongo/dbtests/merge_chunk_tests.cpp index c80692f0271..377f57ad695 100644 --- a/src/mongo/dbtests/merge_chunk_tests.cpp +++ b/src/mongo/dbtests/merge_chunk_tests.cpp @@ -45,13 +45,13 @@ namespace mongo { using std::string; using std::vector; +namespace { + /** * Specialization of the config server fixture with helpers for the tests below. */ class MergeChunkFixture : public ConfigServerFixture { public: - MergeChunkFixture() : ConfigServerFixture() {} - /** * Stores ranges for a particular collection and shard starting from some version */ @@ -340,4 +340,5 @@ TEST_F(MergeChunkTests, CompoundMerge) { assertWrittenAsMerged(ranges); } +} // namespace } // namespace mongo |