diff --git a/tests/supervisors/test_signal.py b/tests/supervisors/test_signal.py index 74117d797..80578a59d 100644 --- a/tests/supervisors/test_signal.py +++ b/tests/supervisors/test_signal.py @@ -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