diff --git a/src/calibre/srv/tests/web_sockets.py b/src/calibre/srv/tests/web_sockets.py index 5935f3ba01..55bdd8a2bf 100644 --- a/src/calibre/srv/tests/web_sockets.py +++ b/src/calibre/srv/tests/web_sockets.py @@ -148,7 +148,7 @@ class WSClient(object): class WSTestServer(TestServer): def __init__(self, handler): - TestServer.__init__(self, None, shutdown_timeout=0.5) + TestServer.__init__(self, None, shutdown_timeout=5) from calibre.srv.http_response import create_http_handler self.loop.handler = create_http_handler(websocket_handler=handler())