This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 8.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 1a2924e3d9640f29a331d459dd7f052257260deb
Author: Masaori Koshiba <[email protected]>
AuthorDate: Wed Apr 1 10:20:07 2020 +0900

    Fix HTTP/2 AuTest for 8.1.x
---
 tests/gold_tests/h2/nghttp.test.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/gold_tests/h2/nghttp.test.py 
b/tests/gold_tests/h2/nghttp.test.py
index 72cc51f..33b4c2a 100644
--- a/tests/gold_tests/h2/nghttp.test.py
+++ b/tests/gold_tests/h2/nghttp.test.py
@@ -46,7 +46,8 @@ microserver.addResponse("sessionlog.json",
 # ----
 # Setup ATS
 # ----
-ts = Test.MakeATSProcess("ts", select_ports=True, enable_tls=True)
+ts = Test.MakeATSProcess("ts", select_ports=False)
+ts.Variables.ssl_port = 4443
 
 # add ssl materials like key, certificates for the server
 ts.addSSLfile("ssl/server.pem")
@@ -65,6 +66,7 @@ ts.Disk.records_config.update({
     'proxy.config.diags.debug.tags': 'http',
     'proxy.config.ssl.server.cert.path': '{0}'.format(ts.Variables.SSLDir),
     'proxy.config.ssl.server.private_key.path': 
'{0}'.format(ts.Variables.SSLDir),
+    'proxy.config.http.server_ports': '{0} {1}:ssl'.format(ts.Variables.port, 
ts.Variables.ssl_port),
     'proxy.config.http.cache.http': 0,
     'proxy.config.http2.active_timeout_in': 3,
 })

Reply via email to