Skip to content

Commit cee31a6

Browse files
authored
test(signal): add sleep to ensure shutdown completion (#2427)
1 parent eba64ef commit cee31a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/supervisors/test_signal.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ async def wait_app(scope, receive, send):
4040
# ensure httpx has processed the response and result is complete
4141
await req
4242
assert req.result().status_code == 200
43+
await asyncio.sleep(0.1) # ensure shutdown is complete
4344

4445

4546
@pytest.mark.anyio

0 commit comments

Comments
 (0)