Skip to content

Commit

Permalink
test(signal): add sleep to ensure shutdown completion (#2427)
Browse files Browse the repository at this point in the history
  • Loading branch information
vvanglro committed Aug 13, 2024
1 parent eba64ef commit cee31a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/supervisors/test_signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ async def wait_app(scope, receive, send):
# ensure httpx has processed the response and result is complete
await req
assert req.result().status_code == 200
await asyncio.sleep(0.1) # ensure shutdown is complete


@pytest.mark.anyio
Expand Down

0 comments on commit cee31a6

Please sign in to comment.