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.cpp4
1 files changed, 2 insertions, 2 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 13f119dc73c..6ede36672f8 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
@@ -118,8 +118,8 @@ public:
inline static const HostAndPort kHost = HostAndPort("foobar:123");
inline static const std::string kErrorMessage = "an error message";
inline static const BSONObj kErrorBson = BSONObjBuilder().append("ok", 0).obj();
- inline static const sdam::IsMasterOutcome kErrorIsMasterOutcome =
- sdam::IsMasterOutcome(kHost, kErrorBson, kErrorMessage);
+ inline static const sdam::HelloOutcome kErrorIsMasterOutcome =
+ sdam::HelloOutcome(kHost, kErrorBson, kErrorMessage);
static constexpr bool kApplicationOperation = true;
static constexpr bool kMonitoringOperation = false;