summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/replica_set_monitor_test.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2016-10-24 10:12:20 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2016-10-24 10:13:03 -0400
commitc0fe7490ed8482c5244a36196253883d3c50e7c7 (patch)
tree90b050a39ccbb5b9796a03b119b71c413c86c098 /src/mongo/dbtests/replica_set_monitor_test.cpp
parent406e1f9e715617956283d32a021fbac7ac46a4cc (diff)
downloadmongo-c0fe7490ed8482c5244a36196253883d3c50e7c7.tar.gz
SERVER-26683 Log reason for marking repl hosts as failed in the RSM
Diffstat (limited to 'src/mongo/dbtests/replica_set_monitor_test.cpp')
-rw-r--r--src/mongo/dbtests/replica_set_monitor_test.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mongo/dbtests/replica_set_monitor_test.cpp b/src/mongo/dbtests/replica_set_monitor_test.cpp
index d6454fc50c2..69cbe39e1d6 100644
--- a/src/mongo/dbtests/replica_set_monitor_test.cpp
+++ b/src/mongo/dbtests/replica_set_monitor_test.cpp
@@ -28,6 +28,9 @@
#include "mongo/platform/basic.h"
+#include <set>
+#include <vector>
+
#include "mongo/client/connpool.h"
#include "mongo/client/dbclient_rs.h"
#include "mongo/client/dbclientinterface.h"
@@ -37,13 +40,9 @@
#include "mongo/dbtests/mock/mock_replica_set.h"
#include "mongo/unittest/unittest.h"
-#include <set>
-#include <vector>
-
+namespace mongo {
namespace {
-using namespace mongo;
-
using std::map;
using std::vector;
using std::set;
@@ -303,4 +302,5 @@ TEST_F(TwoNodeWithTags, SecDownRetryWithTag) {
monitor.reset();
}
+} // namespace
} // namespace mongo