Skip to content

Commit

Permalink
ci: fix flaky aiohttp test failure (#11698)
Browse files Browse the repository at this point in the history
Co-authored-by: erikayasuda <153395705+erikayasuda@users.noreply.github.com>
  • Loading branch information
brettlangdon and erikayasuda authored Dec 12, 2024
1 parent b87c4dd commit d364f1b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/contrib/aiohttp/test_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

from ddtrace import config
from ddtrace.contrib.aiohttp.middlewares import trace_app
from ddtrace.contrib.aiohttp.patch import patch
from ddtrace.contrib.aiohttp.patch import unpatch
from tests.utils import assert_is_measured
from tests.utils import override_global_config

Expand Down Expand Up @@ -76,9 +74,7 @@ async def test_user_specified_service(tracer, aiohttp_client, loop):
When a service name is specified by the user
The aiohttp integration should use it as the service name
"""
unpatch()
with override_global_config(dict(service="mysvc")):
patch()
app = setup_app()
trace_app(app, tracer)
client = await aiohttp_client(app)
Expand Down

0 comments on commit d364f1b

Please sign in to comment.