From 84323d5bed86bc13708852e9d30c2fdc938513b6 Mon Sep 17 00:00:00 2001 From: Masakazu Kitajo Date: Wed, 12 Oct 2022 08:02:15 +0900 Subject: [PATCH 1/3] Change the path for keylog_file on http2_flow_control autest --- tests/gold_tests/h2/http2_flow_control.test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gold_tests/h2/http2_flow_control.test.py b/tests/gold_tests/h2/http2_flow_control.test.py index 78b087fe2ca..fbba2aafb7d 100644 --- a/tests/gold_tests/h2/http2_flow_control.test.py +++ b/tests/gold_tests/h2/http2_flow_control.test.py @@ -107,7 +107,7 @@ def _configure_trafficserver(self): 'proxy.config.ssl.server.private_key.path': f'{ts.Variables.SSLDir}', 'proxy.config.ssl.client.verify.server.policy': 'PERMISSIVE', 'proxy.config.dns.nameservers': '127.0.0.1:{0}'.format(self._dns.Variables.Port), - 'proxy.config.ssl.keylog_file': os.path.join(Test.RunDirectory, 'tls_session_keys.txt'), + 'proxy.config.ssl.keylog_file': '/tmp/tls_session_keys.txt', 'proxy.config.diags.debug.enabled': 3, 'proxy.config.diags.debug.tags': 'http', From aded5553243ac207bbf68e6d06eb4e4bcdce0531 Mon Sep 17 00:00:00 2001 From: Masakazu Kitajo Date: Wed, 12 Oct 2022 13:31:10 +0900 Subject: [PATCH 2/3] Use log dir instead --- tests/gold_tests/h2/http2_flow_control.test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gold_tests/h2/http2_flow_control.test.py b/tests/gold_tests/h2/http2_flow_control.test.py index fbba2aafb7d..5a4700b2576 100644 --- a/tests/gold_tests/h2/http2_flow_control.test.py +++ b/tests/gold_tests/h2/http2_flow_control.test.py @@ -107,7 +107,7 @@ def _configure_trafficserver(self): 'proxy.config.ssl.server.private_key.path': f'{ts.Variables.SSLDir}', 'proxy.config.ssl.client.verify.server.policy': 'PERMISSIVE', 'proxy.config.dns.nameservers': '127.0.0.1:{0}'.format(self._dns.Variables.Port), - 'proxy.config.ssl.keylog_file': '/tmp/tls_session_keys.txt', + 'proxy.config.ssl.keylog_file': '{0}/tls_session_keys.txt'.format(ts.Variables.LOGDIR), 'proxy.config.diags.debug.enabled': 3, 'proxy.config.diags.debug.tags': 'http', From 72a032916a2a07c4f531dc6955862d453361ea54 Mon Sep 17 00:00:00 2001 From: Masakazu Kitajo Date: Wed, 12 Oct 2022 13:37:00 +0900 Subject: [PATCH 3/3] Use os.path.join --- tests/gold_tests/h2/http2_flow_control.test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gold_tests/h2/http2_flow_control.test.py b/tests/gold_tests/h2/http2_flow_control.test.py index 5a4700b2576..49a56232085 100644 --- a/tests/gold_tests/h2/http2_flow_control.test.py +++ b/tests/gold_tests/h2/http2_flow_control.test.py @@ -107,7 +107,7 @@ def _configure_trafficserver(self): 'proxy.config.ssl.server.private_key.path': f'{ts.Variables.SSLDir}', 'proxy.config.ssl.client.verify.server.policy': 'PERMISSIVE', 'proxy.config.dns.nameservers': '127.0.0.1:{0}'.format(self._dns.Variables.Port), - 'proxy.config.ssl.keylog_file': '{0}/tls_session_keys.txt'.format(ts.Variables.LOGDIR), + 'proxy.config.ssl.keylog_file': os.path.join(ts.Variables.LOGDIR, 'tls_session_keys.txt'), 'proxy.config.diags.debug.enabled': 3, 'proxy.config.diags.debug.tags': 'http',