Skip to content

Commit

Permalink
fix(test): unifies how SSL_ENABLED is used in testconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
VAveryanov8 committed Nov 21, 2024
1 parent 22412df commit 6895803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/testutils/db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 6895803

Please sign in to comment.