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 f00122e03a autest: skip tls_engine_abort test when plugin is absent
(#13494)
f00122e03a is described below
commit f00122e03a5376bfb29a141797cc8530dd82db09
Author: Masakazu Kitajo <[email protected]>
AuthorDate: Tue Aug 4 23:31:55 2026 -0600
autest: skip tls_engine_abort test when plugin is absent (#13494)
Same gap caf9c87097 fixed in tls_async_handshake.test.py: SkipUnless
only registers conditions for later, it doesn't stop the script from
running, so PrepareTestPlugin still ran at load time and raised a
ValueError on non-OpenSSL builds where async_handshake.so is never
built. tls_engine_abort.test.py was added afterward from the same
template but didn't carry the guard over. Guard the call on file
existence so it skips cleanly.
---
tests/gold_tests/tls/tls_engine_abort.test.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/gold_tests/tls/tls_engine_abort.test.py
b/tests/gold_tests/tls/tls_engine_abort.test.py
index 87a9951269..98763647bd 100644
--- a/tests/gold_tests/tls/tls_engine_abort.test.py
+++ b/tests/gold_tests/tls/tls_engine_abort.test.py
@@ -42,7 +42,8 @@ server = Test.MakeOriginServer("server")
# A wide pause window (well beyond the abort client's 0.4s handshake attempt)
# so the abort reliably lands while the async job is still in flight.
-Test.PrepareTestPlugin(async_handshake, ts, '-delay-ms=2000')
+if os.path.isfile(async_handshake):
+ Test.PrepareTestPlugin(async_handshake, ts, '-delay-ms=2000')
server.addResponse(
"sessionlog.json", {