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:49:55 UTC
[1/2] trafficserver git commit: Disable tests of enable-static-proxy
until TS-3577 is resolved
Repository: trafficserver
Updated Branches:
refs/heads/master 5bb5b237b -> 502a3b504
Disable tests of enable-static-proxy until TS-3577 is resolved
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/ba2f1239
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/ba2f1239
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/ba2f1239
Branch: refs/heads/master
Commit: ba2f1239d5b4cc1ece8c1df199310d12a5e9de86
Parents: 5bb5b23
Author: Thomas Jackson <ja...@apache.org>
Authored: Thu Apr 30 17:35:47 2015 -0700
Committer: Thomas Jackson <ja...@apache.org>
Committed: Thu Apr 30 17:35:47 2015 -0700
----------------------------------------------------------------------
ci/tsqa/tests/test_buildoptions.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ba2f1239/ci/tsqa/tests/test_buildoptions.py
----------------------------------------------------------------------
diff --git a/ci/tsqa/tests/test_buildoptions.py b/ci/tsqa/tests/test_buildoptions.py
index 35e97b7..986e53d 100644
--- a/ci/tsqa/tests/test_buildoptions.py
+++ b/ci/tsqa/tests/test_buildoptions.py
@@ -58,7 +58,9 @@ class TestBuildOptionDisableTests(TestBuildOption):
class TestBuildOptionEnableStaticProxy(TestBuildOption):
'''Build with --enable-static-proxy'''
environment_factory = { 'configure': { 'enable-static-proxy': None }, }
-
+ @classmethod
+ def setUpClass(cls):
+ raise helpers.unittest.SkipTest('Skip until TS-3577 is resolved')
class TestBuildOptionEnableCxxApi(TestBuildOption):
'''Build with --enable-cppapi'''
[2/2] trafficserver git commit: Correctly pass headers in request to
ATS
Posted by ja...@apache.org.
Correctly pass headers in request to ATS
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/502a3b50
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/502a3b50
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/502a3b50
Branch: refs/heads/master
Commit: 502a3b5040fcf86a9d836a13029843299f3b8c0d
Parents: ba2f123
Author: Thomas Jackson <ja...@apache.org>
Authored: Thu Apr 30 17:49:37 2015 -0700
Committer: Thomas Jackson <ja...@apache.org>
Committed: Thu Apr 30 17:49:37 2015 -0700
----------------------------------------------------------------------
ci/tsqa/tests/test_keepalive.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/502a3b50/ci/tsqa/tests/test_keepalive.py
----------------------------------------------------------------------
diff --git a/ci/tsqa/tests/test_keepalive.py b/ci/tsqa/tests/test_keepalive.py
index 3e77388..5216282 100644
--- a/ci/tsqa/tests/test_keepalive.py
+++ b/ci/tsqa/tests/test_keepalive.py
@@ -77,11 +77,13 @@ class KeepAliveInMixin(object):
return request
def _aux_KA_working_path_connid(self, protocol, headers=None):
+ if headers is None:
+ headers = {}
with requests.Session() as s:
url = '{0}://127.0.0.1:{1}/'.format(protocol, int(self.configs['records.config']['CONFIG']['proxy.config.http.server_ports']))
conn_id = None
for x in xrange(1, 10):
- ret = requests.get(url)
+ ret = requests.get(url, headers=headers)
self.assertEqual(ret.status_code, 200)
if conn_id is None:
conn_id = ret.text
@@ -440,6 +442,7 @@ class TestKeepAlive_Authorization_private(helpers.EnvironmentCase, BasicTestsOut
self._aux_KA_working_path_connid("http", headers={'Authorization': 'Foo'})
+
class TestKeepAlive_Authorization_no_private(helpers.EnvironmentCase, BasicTestsOutMixin, KeepAliveInMixin):
@classmethod
def setUpEnv(cls, env):