From 4e3d5dad4184f542823a4e0be2aaef2c1a79a37b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 8 Jul 2016 09:29:54 +0530 Subject: [PATCH] Increase timeout to rpevent test sporadically failing on Travis OS X --- src/calibre/srv/tests/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/srv/tests/http.py b/src/calibre/srv/tests/http.py index 5c80e2824f..407e47df49 100644 --- a/src/calibre/srv/tests/http.py +++ b/src/calibre/srv/tests/http.py @@ -391,7 +391,7 @@ class TestHTTP(BaseTest): lf.seek(0) data = lf.read() server.change_handler(lambda conn: lf) - conn = server.connect() + conn = server.connect(timeout=1) conn.request('GET', '/test') r = conn.getresponse() self.ae(r.status, httplib.OK)