Skip to content

Commit

Permalink
fix: fastapi test_fastapi_instrumentation_wrapped run failed
Browse files Browse the repository at this point in the history
  • Loading branch information
jagerzhang authored Oct 25, 2024
1 parent 339c635 commit 4c36774
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ def test_render_path_parameters(self):
resp = self.client.get("/foobar")
self.assertEqual(resp.status_code, 200)
spans = self.memory_exporter.get_finished_spans()
expected_span_name = "GET /foobar"
expected_span_name = "GET /foobar http send"
self.assertEqual(
spans[0].name,
"GET /foobar",
expected_span_name,
f"Expected span name to be '{expected_span_name}', but got '{spans[0].name}'",
)

Expand Down

0 comments on commit 4c36774

Please sign in to comment.