1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

Add RE tests (#2847)

* Add RE tests

* Enable testing on RE

* change db id to 0 - only when RE cluster is set

* label tests

* adding secrets
This commit is contained in:
ofekshenawa
2024-01-01 22:19:22 +02:00
committed by GitHub
parent 73c879df57
commit b762309243
12 changed files with 212 additions and 113 deletions

View File

@ -657,6 +657,11 @@ func ExampleNewUniversalClient_cluster() {
}
func ExampleClient_SlowLogGet() {
if RECluster {
// skip slowlog test for cluster
fmt.Println(2)
return
}
const key = "slowlog-log-slower-than"
old := rdb.ConfigGet(ctx, key).Val()