Skip to content

Commit

Permalink
fixed tracing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PietroPasotti committed Aug 2, 2024
1 parent 4643833 commit 8587e29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/scenario/test_tracing_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"


Expand Down

0 comments on commit 8587e29

Please sign in to comment.