public void Disconnect_Test() { using (var rcClient = new RedisSentinel(ip, 20002)) { var info = rcClient.Ping(); } }
public void Ping_Test() { using (RedisSentinel rsc = new RedisSentinel(ip, port)) { var result = rsc.Ping(); Assert.IsTrue(result); } }
public void Maxclients() { for (int i = 0; i < 100; i++) { RedisSentinel rsc = new RedisSentinel(ip, port); var result = rsc.Ping(); Assert.IsTrue(result); } }