From 28c548bccb94096f3c3f1287abb559f233884735 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 14 Jul 2016 15:35:52 +0530 Subject: [PATCH] Another timeout adjustment for travis --- 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 62a98f16d6..0dc8bd89d2 100644 --- a/src/calibre/srv/tests/http.py +++ b/src/calibre/srv/tests/http.py @@ -129,7 +129,7 @@ class TestHTTP(BaseTest): conn._HTTPConnection__state = httplib._CS_REQ_SENT return conn.getresponse() - with TestServer(handler, timeout=0.1, max_header_line_size=100./1024, max_request_body_size=100./(1024*1024)) as server: + with TestServer(handler, timeout=0.2, max_header_line_size=100./1024, max_request_body_size=100./(1024*1024)) as server: conn = server.connect() r = raw_send(conn, b'hello\n') self.ae(r.status, httplib.BAD_REQUEST)