From eff6931fd925fdc54678925a44b2fbd8be32bb2a Mon Sep 17 00:00:00 2001 From: Jakub Smolar Date: Thu, 15 Aug 2024 18:04:47 +0200 Subject: [PATCH] Fixed parallel metrics tests Signed-off-by: Jakub Smolar --- testsuite/tests/singlecluster/authorino/metrics/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuite/tests/singlecluster/authorino/metrics/conftest.py b/testsuite/tests/singlecluster/authorino/metrics/conftest.py index ed68a1c3..395960c4 100644 --- a/testsuite/tests/singlecluster/authorino/metrics/conftest.py +++ b/testsuite/tests/singlecluster/authorino/metrics/conftest.py @@ -40,7 +40,7 @@ def prometheus(cluster): @pytest.fixture(scope="package") def service_monitor(cluster, request, blame, authorino): """Create ServiceMonitor object to follow Authorino /metrics and /server-metrics endpoints""" - label = {"app": blame("monitoring")} + label = {"app": authorino.name() + "metrics"} authorino.metrics_service.label(label) endpoints = [MetricsEndpoint("/metrics", "http"), MetricsEndpoint("/server-metrics", "http")] monitor = ServiceMonitor.create_instance(