From edb8778350326d2b33f056b1b5f0b25a4b5b444a Mon Sep 17 00:00:00 2001 From: Henrik Edin Date: Mon, 23 Mar 2020 10:04:42 -0400 Subject: SERVER-47040 LOGV2_FATAL also fasserts Added LOGV2_FATAL_NOTRACE and LOGV2_CONTINUE to have different behavior. --- src/mongo/executor/task_executor_test_common.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mongo/executor/task_executor_test_common.cpp') diff --git a/src/mongo/executor/task_executor_test_common.cpp b/src/mongo/executor/task_executor_test_common.cpp index 74966b97c3c..24b65c0952b 100644 --- a/src/mongo/executor/task_executor_test_common.cpp +++ b/src/mongo/executor/task_executor_test_common.cpp @@ -85,10 +85,9 @@ public: CetRegistrationAgent(const std::string& name, ExecutorTestCaseFactory makeTest) { auto& entry = executorTestCaseRegistry()[name]; if (entry) { - LOGV2_FATAL(23924, + LOGV2_FATAL(28713, "Multiple attempts to register ExecutorTest named {name}", "name"_attr = name); - fassertFailed(28713); } entry = std::move(makeTest); } -- cgit v1.2.1