From 8d269d49511b6184503e9c1beb15dcba46e9cd11 Mon Sep 17 00:00:00 2001 From: Luca Bello Date: Mon, 13 Jan 2025 16:07:51 +0100 Subject: [PATCH] fix scenario --- tests/scenario/test_alert_labels.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scenario/test_alert_labels.py b/tests/scenario/test_alert_labels.py index bfeda06..c7f436a 100644 --- a/tests/scenario/test_alert_labels.py +++ b/tests/scenario/test_alert_labels.py @@ -120,7 +120,7 @@ def test_metrics_alert_rule_labels(charm_config): ) for group in alert_rules["groups"]: for rule in group["rules"]: - if "grafana-agent_alertgroup_alerts" in group["name"]: + if "grafana_agent_alertgroup_alerts" in group["name"]: assert ( rule["labels"]["juju_application"] == "primary" or rule["labels"]["juju_application"] == "subordinate"