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

cmcfarlen pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit dd2bac34fd8ef9ae1dce935888221b9d70469633
Author: Damian Meden <[email protected]>
AuthorDate: Wed Apr 3 10:04:59 2024 +0200

    ja3_fingerprint: Add condition to run test only if the plugin was built. 
(#11202)
    
    (cherry picked from commit ff100f4f5ce69a00e3f3093f202d5f1aa9bb2ee5)
---
 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