From 689580345e54399b658c292b67bfccca0f56b85c Mon Sep 17 00:00:00 2001 From: Vasil Averyanau Date: Thu, 21 Nov 2024 11:26:02 +0100 Subject: [PATCH] fix(test): unifies how SSL_ENABLED is used in testconfig --- pkg/testutils/db/db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/testutils/db/db.go b/pkg/testutils/db/db.go index 05fff3bce..a7e39bb67 100644 --- a/pkg/testutils/db/db.go +++ b/pkg/testutils/db/db.go @@ -101,7 +101,7 @@ func CreateManagedClusterSession(tb testing.TB, empty bool, client *scyllaclient Username: user, Password: pass, } - if os.Getenv("SSL_ENABLED") != "" { + if os.Getenv("SSL_ENABLED") != "false" { cluster.SslOpts = testconfig.CQLSSLOptions() cluster.Port = testconfig.CQLPort() }