This is an automated email from the ASF dual-hosted git repository.
maskit 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 caf9c87097 autest: skip async handshake test when plugin is absent
(#13372)
caf9c87097 is described below
commit caf9c87097d7231e74e536337c78eb4eba306ba5
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.
---
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 e652d0f6fc..3adb786b67 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", {