test: fix broken tests across suite and resolve port conflicts

This commit is contained in:
2026-03-11 23:49:23 -04:00
parent 036c2f360a
commit 1a14cee3ce
6 changed files with 113 additions and 39 deletions

View File

@@ -643,7 +643,7 @@ class HookServer:
if not _has_app_attr(self.app, '_api_event_queue'): _set_app_attr(self.app, '_api_event_queue', [])
if not _has_app_attr(self.app, '_api_event_queue_lock'): _set_app_attr(self.app, '_api_event_queue_lock', threading.Lock())
self.websocket_server = WebSocketServer(self.app)
self.websocket_server = WebSocketServer(self.app, port=self.port + 1)
self.websocket_server.start()
eq = _get_app_attr(self.app, 'event_queue')