Proofline

In `tests/test_http.py`, `asyncio.wait_for` waits for cancellation to finish before cleanup can open the gate the waiter needs.

thekarannagpal/sdk-python#1Reviewed commit 63c2476

Warning · Concurrency

Impact

If the helper keeps draining the waiter despite cancellation, the test hangs instead of failing at its timeout.

Recommended action

Use `asyncio.wait` with a timeout, assert completion before reading the result, and open the gate before draining the task.

Cited code

Checked
Pull request code. The environment was not checked.
Status
Completed
Started
Completed