From f86dbd5f6194d47770977d8325193a7cf7795d69 Mon Sep 17 00:00:00 2001 From: Dave Warnock Date: Fri, 6 Dec 2024 17:02:22 +0000 Subject: [PATCH] chore: temporary kludge to make websocket test past on ci (#1070) --- integration_tests/base_routes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/integration_tests/base_routes.py b/integration_tests/base_routes.py index a271fb268..7c638fb6a 100644 --- a/integration_tests/base_routes.py +++ b/integration_tests/base_routes.py @@ -66,6 +66,8 @@ async def message(ws: WebSocketConnector, msg: str, global_dependencies) -> str: resp = "*chika* *chika* Slim Shady." elif state == 3: ws.close() + # TODO temporary fix to avoid CI failure + resp = "Connection Closed" websocket_state[websocket_id] = (state + 1) % 4 return resp