From c6fa37300ac457e83effd61200a3278555ac5ca4 Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Tue, 30 Apr 2024 11:33:04 +0200 Subject: [PATCH] Fix SKIP_TLS macro (unittest) Since in 3.4 we use TLS connections by default, so checking force_tls is not enough. We also need to check if fingerprint was set. --- unittest/libmariadb/my_test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittest/libmariadb/my_test.h b/unittest/libmariadb/my_test.h index 7c23c91a..8313a7d7 100644 --- a/unittest/libmariadb/my_test.h +++ b/unittest/libmariadb/my_test.h @@ -76,7 +76,7 @@ if (IS_SKYSQL(hostname)) \ #endif #define SKIP_TLS \ -if (force_tls)\ +if (force_tls || fingerprint[0])\ {\ diag("Test doesn't work with TLS");\ return SKIP;\