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

dmeden 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 ff100f4f5c ja3_fingerprint: Add condition to run test only if the 
plugin was built. (#11202)
ff100f4f5c is described below

commit ff100f4f5ce69a00e3f3093f202d5f1aa9bb2ee5
Author: Damian Meden <dme...@apache.org>
AuthorDate: Wed Apr 3 10:04:59 2024 +0200

    ja3_fingerprint: Add condition to run test only if the plugin was built. 
(#11202)
---
 tests/gold_tests/pluginTest/ja3_fingerprint/ja3_fingerprint.test.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/tests/gold_tests/pluginTest/ja3_fingerprint/ja3_fingerprint.test.py 
b/tests/gold_tests/pluginTest/ja3_fingerprint/ja3_fingerprint.test.py
index 64067078a3..e592593f43 100644
--- a/tests/gold_tests/pluginTest/ja3_fingerprint/ja3_fingerprint.test.py
+++ b/tests/gold_tests/pluginTest/ja3_fingerprint/ja3_fingerprint.test.py
@@ -22,6 +22,9 @@ import re
 
 Test.Summary = __doc__
 
+# Skip if plugin not present. Plugin gets built only if openssl is used(not 
BoringSSL).
+Test.SkipUnless(Condition.PluginExists('ja3_fingerprint.so'))
+
 
 class JA3FingerprintTest:
     """Verify the behavior of the JA3 fingerprint plugin."""

Reply via email to