skipBeforeRedisVersion checks if Redis version is below the specified version and skips the test if so
(t *testing.T, version float64, msg string)
| 24 | |
| 25 | // skipBeforeRedisVersion checks if Redis version is below the specified version and skips the test if so |
| 26 | func skipBeforeRedisVersion(t *testing.T, version float64, msg string) { |
| 27 | t.Helper() |
| 28 | if RedisVersion < version { |
| 29 | t.Skipf("Skipping test: Redis version %.1f < %.1f: %s", RedisVersion, version, msg) |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | // TestTLSCertificateAuthentication tests that Redis automatically authenticates |
| 34 | // a user based on the CN field in the client's TLS certificate. |
no outgoing calls
no test coverage detected