From 8587e293e025c2b15e5d6cbe65a875b29621306b Mon Sep 17 00:00:00 2001 From: Pietro Pasotti Date: Fri, 2 Aug 2024 10:42:51 +0200 Subject: [PATCH] fixed tracing tests --- tests/scenario/test_tracing_integration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/scenario/test_tracing_integration.py b/tests/scenario/test_tracing_integration.py index 836bb233..aeee79d6 100644 --- a/tests/scenario/test_tracing_integration.py +++ b/tests/scenario/test_tracing_integration.py @@ -40,8 +40,8 @@ def test_charm_trace_collection(traefik_ctx, traefik_container, caplog, tracing_ # assert "Setting up span exporter to endpoint: foo.com:81" in caplog.text # assert "Starting root trace with id=" in caplog.text span = f.call_args_list[0].args[0][0] - assert span.resource.attributes["service.name"] == "traefik-k8s" - assert span.resource.attributes["compose_service"] == "traefik-k8s" + assert span.resource.attributes["service.name"] == "traefik-k8s-charm" + assert span.resource.attributes["compose_service"] == "traefik-k8s-charm" assert span.resource.attributes["charm_type"] == "TraefikIngressCharm"