summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/merge_chunk_tests.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2015-07-14 18:08:54 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2015-07-21 14:39:26 -0400
commit1bfa39c1d841e20cda3e198f57adf4eca0ebb653 (patch)
tree785e9f2db674afeb319b4a09bd670563d18ca471 /src/mongo/dbtests/merge_chunk_tests.cpp
parent923fcee186e7f1f4a908c9a8ff62fb30c23d5dc5 (diff)
downloadmongo-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.cpp5
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