summaryrefslogtreecommitdiff
path: root/src/mongo/executor/task_executor_test_common.cpp
diff options
context:
space:
mode:
authorHenrik Edin <henrik.edin@mongodb.com>2020-03-23 10:04:42 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-03-24 20:22:44 +0000
commitedb8778350326d2b33f056b1b5f0b25a4b5b444a (patch)
tree15afcaa7a707be0872b764cd054aee55d855ba92 /src/mongo/executor/task_executor_test_common.cpp
parent51b338ad41653a8188adcc67b682ea12bbe63b4d (diff)
downloadmongo-edb8778350326d2b33f056b1b5f0b25a4b5b444a.tar.gz
SERVER-47040 LOGV2_FATAL also fasserts
Added LOGV2_FATAL_NOTRACE and LOGV2_CONTINUE to have different behavior.
Diffstat (limited to 'src/mongo/executor/task_executor_test_common.cpp')
-rw-r--r--src/mongo/executor/task_executor_test_common.cpp3
1 files changed, 1 insertions, 2 deletions
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);
}