Files
esp-idf/examples/protocols/http_server
Hrushikesh Bhosale 31e9151dcb fix(http_server/ws_echo_server): Fix ws_echo_server test URI registration race condition
The WebSocket echo server tests connect immediately after seeing
'Starting server on port:' in the device log, but URI handlers
(/ws, /auth) are registered asynchronously after the server starts,
taking 40-660ms depending on config and CI load.

Wait for 'Returned from app_main()' before connecting, which
guarantees all URI handlers are registered. Add connection retry
with WebSocketBadStatusException handling to WsClient.

Extract _wait_for_server_ready() helper to deduplicate the WiFi
credential input and server readiness logic.

(cherry picked from commit 7a50e3ab04)
2026-04-17 14:45:37 +05:30
..
2026-03-11 07:34:34 +01:00