File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed
Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -60,16 +60,17 @@ var _ = Describe("UniversalClient", func() {
6060 a := func () { client .FTInfo (ctx , "all" ).Result () }
6161 Expect (a ).ToNot (Panic ())
6262 })
63- })
6463
65- It ("should connect to failover servers - slaves" , func () {
66- Skip ("Flaky Test" )
67- client = redis .NewUniversalClient (& redis.UniversalOptions {
68- MasterName : sentinelName ,
69- Addrs : sentinelAddrs ,
70- ReadOnly : true ,
64+
65+ It ("should connect to failover servers on slaves" , func () {
66+ client = redis .NewUniversalClient (& redis.UniversalOptions {
67+ MasterName : sentinelName ,
68+ Addrs : sentinelAddrs ,
69+ ReadOnly : true ,
70+ })
71+ Expect (client .Ping (ctx ).Err ()).NotTo (HaveOccurred ())
7172 })
72- Expect ( client . Ping ( ctx ). Err ()). NotTo ( HaveOccurred ())
73- a := func () { client . Do ( ctx , "ROLE" ). Result () }
74- Expect ( a ). ToNot ( Panic () )
75- })
73+
74+
75+ } )
76+
You can’t perform that action at this time.
0 commit comments