You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ja...@apache.org on 2015/05/01 02:01:19 UTC
[4/4] trafficserver git commit: Correct exception name,
now that we enforce a timeout
Correct exception name, now that we enforce a timeout
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/6f71be9b
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/6f71be9b
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/6f71be9b
Branch: refs/heads/master
Commit: 6f71be9b33e9f64581ec06529b90377fdc890208
Parents: 3ac5114
Author: Thomas Jackson <ja...@apache.org>
Authored: Thu Apr 30 17:00:38 2015 -0700
Committer: Thomas Jackson <ja...@apache.org>
Committed: Thu Apr 30 17:00:48 2015 -0700
----------------------------------------------------------------------
ci/tsqa/tests/test_chunked.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/6f71be9b/ci/tsqa/tests/test_chunked.py
----------------------------------------------------------------------
diff --git a/ci/tsqa/tests/test_chunked.py b/ci/tsqa/tests/test_chunked.py
index 9b7fdc0..5d265f4 100644
--- a/ci/tsqa/tests/test_chunked.py
+++ b/ci/tsqa/tests/test_chunked.py
@@ -192,5 +192,5 @@ class TestChunked(helpers.EnvironmentCase):
def test_chunked_bad_close(self):
url = 'http://127.0.0.1:{0}/5/0.1/false'.format(self.port)
- with self.assertRaises(requests.exceptions.ConnectionError):
+ with self.assertRaises(socket.timeout):
ret = requests.get(url, proxies=self.proxies, timeout=2)