Skip to content

Commit

Permalink
remove some duplicate sleeps
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Feb 19, 2024
1 parent 8609c35 commit 2151a80
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -1212,8 +1212,7 @@ async def test_tcp_connector_dns_tracing_throttle_requests(
m_resolver().resolve.return_value = dns_response()
loop.create_task(conn._resolve_host("localhost", 8080, traces=traces))
loop.create_task(conn._resolve_host("localhost", 8080, traces=traces))
await asyncio.sleep(0)
await asyncio.sleep(0)
await asyncio.sleep(0.1)
on_dns_cache_hit.assert_called_once_with(
session, trace_config_ctx, aiohttp.TraceDnsCacheHitParams("localhost")
)
Expand Down

0 comments on commit 2151a80

Please sign in to comment.