This is an automated email from the ASF dual-hosted git repository. cmcfarlen pushed a commit to branch 10.2.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit a6820e9fd962288dc7029fd0dea3bf205aa67c96 Author: Masakazu Kitajo <[email protected]> AuthorDate: Mon Jul 13 10:14:18 2026 -0600 autest: skip async handshake test when plugin is absent (#13372) The async_handshake test plugin is only built with OpenSSL (TS_USE_TLS_ASYNC). SkipUnless does not evaluate its conditions where it appears; it only registers them for the framework to check later, so the test file keeps executing and PrepareTestPlugin ran at load time and raised a ValueError when the plugin was missing, reported as a test exception instead of a skip. Guard the call on file existence so the test skips cleanly on non-OpenSSL builds. (cherry picked from commit caf9c87097d7231e74e536337c78eb4eba306ba5) --- tests/gold_tests/tls/tls_async_handshake.test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/gold_tests/tls/tls_async_handshake.test.py b/tests/gold_tests/tls/tls_async_handshake.test.py index 5ac4e28959..e0050010ee 100644 --- a/tests/gold_tests/tls/tls_async_handshake.test.py +++ b/tests/gold_tests/tls/tls_async_handshake.test.py @@ -33,7 +33,8 @@ Test.SkipUnless( ts = Test.MakeATSProcess("ts", enable_tls=True) server = Test.MakeOriginServer("server") -Test.PrepareTestPlugin(async_handshake, ts) +if os.path.isfile(async_handshake): + Test.PrepareTestPlugin(async_handshake, ts) server.addResponse( "sessionlog.json", {
