mirror of
https://github.com/redis/go-redis.git
synced 2025-06-14 01:21:30 +03:00
Use the right redis client in tests
This commit is contained in:
committed by
Vladimir Mihailenco
parent
5ed546f303
commit
eca1bb6b36
@ -4702,7 +4702,7 @@ var _ = Describe("Commands", func() {
|
||||
client.ConfigSet(ctx, key, "0")
|
||||
defer client.ConfigSet(ctx, key, old[key])
|
||||
|
||||
err := rdb.Do(ctx, "slowlog", "reset").Err()
|
||||
err := client.Do(ctx, "slowlog", "reset").Err()
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
|
||||
client.Set(ctx, "test", "true", 0)
|
||||
|
Reference in New Issue
Block a user