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

Unexport helper command

This commit is contained in:
Vladimir Mihailenco
2021-03-12 16:08:58 +02:00
parent d47e48f8ab
commit 573638ff0c
4 changed files with 13 additions and 12 deletions

View File

@ -68,7 +68,7 @@ var _ = Describe("Sentinel", func() {
// Verify master->slaves sync.
var slavesAddr []string
Eventually(func() []string {
slavesAddr = sentinel.GetSlavesAddrByName(ctx, sentinelName)
slavesAddr = redis.GetSlavesAddrByName(ctx, sentinel, sentinelName)
return slavesAddr
}, "15s", "100ms").Should(HaveLen(2))
Eventually(func() bool {