1
0
mirror of https://github.com/redis/go-redis.git synced 2025-06-15 12:41:41 +03:00

Merge pull request #1743 from nigelis/bugfix/tests

Use the right redis client in tests
This commit is contained in:
Vladimir Mihailenco
2021-04-29 16:12:18 +03:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@ -4686,7 +4686,7 @@ var _ = Describe("Commands", func() {
client.ConfigSet(ctx, key, "0")
defer client.ConfigSet(ctx, key, old[1].(string))
err := rdb.Do(ctx, "slowlog", "reset").Err()
err := client.Do(ctx, "slowlog", "reset").Err()
Expect(err).NotTo(HaveOccurred())
client.Set(ctx, "test", "true", 0)