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:
@ -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()
|
||||
|
Reference in New Issue
Block a user