Skip to content

Commit

Permalink
Update test_fastapi_instrumentation.py
Browse files Browse the repository at this point in the history
Co-authored-by: Riccardo Magliocchetti <[email protected]>
  • Loading branch information
adriangb and xrmx authored Nov 27, 2024
1 parent f3e865d commit 7d19372
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,7 @@ def test_mulitple_way_instrumentation(self):
self._instrumentor.instrument_app(self._app)
count = 0
app = self._app.middleware_stack
while True:
while app is not None:
if isinstance(app, OpenTelemetryMiddleware):
count += 1
if app is None:
Expand Down

0 comments on commit 7d19372

Please sign in to comment.