summaryrefslogtreecommitdiff
path: root/src/mongo/client/streamable_replica_set_monitor_error_handler_test.cpp
diff options
context:
space:
mode:
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 ef0eb80e61a..497d3d04f2a 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
@@ -111,7 +111,7 @@ public:
ErrorCodes::NotMasterOrSecondary,
ErrorCodes::PrimarySteppedDown,
ErrorCodes::ShutdownInProgress,
- ErrorCodes::NotMaster,
+ ErrorCodes::NotWritablePrimary,
ErrorCodes::NotMasterNoSlaveOk};
inline static const std::string kSetName = "setName";