summaryrefslogtreecommitdiff
path: root/src/mongo/client/streamable_replica_set_monitor_error_handler_test.cpp
diff options
context:
space:
mode:
authorPavi Vetriselvan <pavithra.vetriselvan@mongodb.com>2020-08-26 13:45:37 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-09-03 19:16:09 +0000
commitb1920ea0a48a86bcd99eb5273ccbf12c008e4ed0 (patch)
treeaf34399c0e3acb0cce0cae747000a95e4ddd0929 /src/mongo/client/streamable_replica_set_monitor_error_handler_test.cpp
parent8e3271aaf22106853bf36429cfcee39ed6055f35 (diff)
downloadmongo-b1920ea0a48a86bcd99eb5273ccbf12c008e4ed0.tar.gz
SERVER-50409 Change NotMasterNoSlaveOk error name to NotPrimaryNoSecondaryOk
Diffstat (limited to 'src/mongo/client/streamable_replica_set_monitor_error_handler_test.cpp')
-rw-r--r--src/mongo/client/streamable_replica_set_monitor_error_handler_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/client/streamable_replica_set_monitor_error_handler_test.cpp b/src/mongo/client/streamable_replica_set_monitor_error_handler_test.cpp
index 497d3d04f2a..9856d9f35a4 100644
--- a/src/mongo/client/streamable_replica_set_monitor_error_handler_test.cpp
+++ b/src/mongo/client/streamable_replica_set_monitor_error_handler_test.cpp
@@ -112,7 +112,7 @@ public:
ErrorCodes::PrimarySteppedDown,
ErrorCodes::ShutdownInProgress,
ErrorCodes::NotWritablePrimary,
- ErrorCodes::NotMasterNoSlaveOk};
+ ErrorCodes::NotPrimaryNoSecondaryOk};
inline static const std::string kSetName = "setName";
inline static const HostAndPort kHost = HostAndPort("foobar:123");