summaryrefslogtreecommitdiff
path: root/src/mongo/client/dbclient_rs_test.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2016-10-24 10:12:05 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2016-10-24 10:13:02 -0400
commit406e1f9e715617956283d32a021fbac7ac46a4cc (patch)
treeca9a83ffcc4be15d5435a1788dd6551391c549ba /src/mongo/client/dbclient_rs_test.cpp
parent78418816ec74ff0b9f48cf4e59b2b7fde13bd919 (diff)
downloadmongo-406e1f9e715617956283d32a021fbac7ac46a4cc.tar.gz
Revert "SERVER-26683 Log reason for marking repl hosts as failed in the RSM"
This reverts commit 80d6ca07522fce27f9559007791ebe4a1afe0866.
Diffstat (limited to 'src/mongo/client/dbclient_rs_test.cpp')
-rw-r--r--src/mongo/client/dbclient_rs_test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/client/dbclient_rs_test.cpp b/src/mongo/client/dbclient_rs_test.cpp
index b900070e755..e101695cdc8 100644
--- a/src/mongo/client/dbclient_rs_test.cpp
+++ b/src/mongo/client/dbclient_rs_test.cpp
@@ -691,8 +691,7 @@ TEST_F(TaggedFiveMemberRS, ConnShouldNotPinIfHostMarkedAsFailed) {
// This is the only difference from ConnShouldPinIfSameSettings which tests that we *do* pin
// in if the host is still marked as up. Note that this only notifies the RSM, and does not
// directly effect the DBClientRS.
- ReplicaSetMonitor::get(replSet->getSetName())
- ->failedHost(HostAndPort(dest), {ErrorCodes::InternalError, "Test error"});
+ ReplicaSetMonitor::get(replSet->getSetName())->failedHost(HostAndPort(dest));
{
Query query;