From 9ec81761942a697e32e4fc8dc59356e0a6549aa2 Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Sat, 9 Mar 2013 22:05:00 -0500 Subject: [PATCH] Relax a timing sensitive test that fails occasionally on travis-ci --- tornado/test/simple_httpclient_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tornado/test/simple_httpclient_test.py b/tornado/test/simple_httpclient_test.py index 1c24dc570..65fde6d57 100644 --- a/tornado/test/simple_httpclient_test.py +++ b/tornado/test/simple_httpclient_test.py @@ -213,7 +213,7 @@ class SimpleHTTPClientTestCase(AsyncHTTPTestCase): with ExpectLog(gen_log, "uncaught exception"): response = self.fetch('/trigger?wake=false', request_timeout=0.1) self.assertEqual(response.code, 599) - self.assertTrue(0.099 < response.request_time < 0.12, response.request_time) + self.assertTrue(0.099 < response.request_time < 0.15, response.request_time) self.assertEqual(str(response.error), "HTTP 599: Timeout") # trigger the hanging request to let it clean up after itself self.triggers.popleft()() -- 2.47.2