From 23a176930ccd202b1f98153e0fc91ba75964ead1 Mon Sep 17 00:00:00 2001 From: Varac <varac@varac.net> Date: Thu, 12 Aug 2021 17:44:19 +0200 Subject: [PATCH] Also ignore KubeletDown alert in CI --- test/pytest/test_prometheus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/pytest/test_prometheus.py b/test/pytest/test_prometheus.py index 5fca63efa..869285efe 100755 --- a/test/pytest/test_prometheus.py +++ b/test/pytest/test_prometheus.py @@ -17,7 +17,7 @@ def ignore_alert(alert): # Ignore `KubeAPILatencyHigh` fom high load during installation # phase - if alert["labels"]["alertname"] == "KubeAPIDown": + if re.search(r"(KubeAPIDown|KubeletDown)", alert["labels"]["alertname"]): return True return False -- GitLab