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, 3 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 787ab86026e..80372f608a8 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
@@ -26,7 +26,6 @@
* exception statement from all source files in the program, then also delete
* it in the license file.
*/
-#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kTest
#include "mongo/client/streamable_replica_set_monitor_error_handler.h"
#include <boost/optional/optional_io.hpp>
@@ -36,6 +35,9 @@
#include "mongo/platform/basic.h"
#include "mongo/unittest/unittest.h"
+#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kTest
+
+
namespace mongo {
using HandshakeStage = StreamableReplicaSetMonitorErrorHandler::HandshakeStage;
using ErrorActions = StreamableReplicaSetMonitorErrorHandler::ErrorActions;