asyncio.open_connection hangs indefinitely when backend port is silently dropped. Add wait_for(timeout=3.0) so the WS close frame is always sent within the test's 5s window.
asyncio.open_connection hangs indefinitely when backend port is silently dropped. Add wait_for(timeout=3.0) so the WS close frame is always sent within the test's 5s window.