mirror of
https://github.com/redis/go-redis.git
synced 2025-08-08 23:42:06 +03:00
use 3 sentinel instances in unit testing
Signed-off-by: Dmitry Shmulevich <dmitry.shmulevich@sysdig.com>
This commit is contained in:
@@ -19,7 +19,7 @@ var _ = Describe("UniversalClient", func() {
|
||||
It("should connect to failover servers", func() {
|
||||
client = redis.NewUniversalClient(&redis.UniversalOptions{
|
||||
MasterName: sentinelName,
|
||||
Addrs: []string{":" + sentinelPort},
|
||||
Addrs: sentinelAddrs,
|
||||
})
|
||||
Expect(client.Ping(ctx).Err()).NotTo(HaveOccurred())
|
||||
})
|
||||
|
Reference in New Issue
Block a user