Skip to content

Commit

Permalink
chore: temporary kludge to make websocket test past on ci (#1070)
Browse files Browse the repository at this point in the history
  • Loading branch information
dave42w authored Dec 6, 2024
1 parent 6004ca4 commit f86dbd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integration_tests/base_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f86dbd5

Please sign in to comment.