From c2a01b3392b0c50016258a8bdf95378ba9752e49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Misbach?= Date: Fri, 15 Dec 2023 16:51:28 +0100 Subject: [PATCH] [uss_qualifier] Do not upgrade Low severity failures to Critical (#410) --- monitoring/uss_qualifier/scenarios/scenario.py | 1 + 1 file changed, 1 insertion(+) diff --git a/monitoring/uss_qualifier/scenarios/scenario.py b/monitoring/uss_qualifier/scenarios/scenario.py index 7c67aaec40..f95fca11ca 100644 --- a/monitoring/uss_qualifier/scenarios/scenario.py +++ b/monitoring/uss_qualifier/scenarios/scenario.py @@ -110,6 +110,7 @@ def record_failed( if ( self._stop_fast and severity != Severity.Critical + and severity != Severity.Low and self._phase != ScenarioPhase.CleaningUp ): note = f"Severity {severity} upgraded to Critical because `stop_fast` flag set true in configuration"