You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by sh...@apache.org on 2017/10/18 19:14:24 UTC
[trafficserver] branch master updated: Added skip condition on
http2 test for lack of curl http2
This is an automated email from the ASF dual-hosted git repository.
shinrich pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new fa702d2 Added skip condition on http2 test for lack of curl http2
fa702d2 is described below
commit fa702d2e46e0c2577c6fa5f61f030130cd63940e
Author: Jesse Zhang <ma...@gmail.com>
AuthorDate: Tue Oct 17 15:33:19 2017 -0500
Added skip condition on http2 test for lack of curl http2
Added http2 skip to chunked encoding
---
tests/gold_tests/chunked_encoding/chunked_encoding.test.py | 3 ++-
tests/gold_tests/h2/http2.test.py | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/gold_tests/chunked_encoding/chunked_encoding.test.py b/tests/gold_tests/chunked_encoding/chunked_encoding.test.py
index 1be0580..f511a21 100644
--- a/tests/gold_tests/chunked_encoding/chunked_encoding.test.py
+++ b/tests/gold_tests/chunked_encoding/chunked_encoding.test.py
@@ -22,7 +22,8 @@ Test a basic remap of a http connection
'''
# need Curl
Test.SkipUnless(
- Condition.HasProgram("curl", "Curl need to be installed on system for this test to work")
+ Condition.HasProgram("curl", "Curl need to be installed on system for this test to work"),
+ Condition.HasCurlFeature('http2')
)
Test.ContinueOnFail = True
diff --git a/tests/gold_tests/h2/http2.test.py b/tests/gold_tests/h2/http2.test.py
index c86a988..16fee95 100644
--- a/tests/gold_tests/h2/http2.test.py
+++ b/tests/gold_tests/h2/http2.test.py
@@ -22,7 +22,8 @@ Test a basic remap of a http connection
'''
# need Curl
Test.SkipUnless(
- Condition.HasProgram("curl", "Curl need to be installed on system for this test to work")
+ Condition.HasProgram("curl", "Curl need to be installed on system for this test to work"),
+ Condition.HasCurlFeature('http2')
)
Test.ContinueOnFail = True
# Define default ATS
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].