예제 #1
0
 public void Disconnect_Test()
 {
     using (var rcClient = new RedisSentinel(ip, 20002))
     {
         var info = rcClient.Ping();
     }
 }
예제 #2
0
 public void Disconnect_Test()
 {
     using (var rcClient = new RedisSentinel(ip, 20002))
     {
         var info = rcClient.Ping();
     }
 }
예제 #3
0
        public void Ping_Test()
        {
            using (RedisSentinel rsc = new RedisSentinel(ip, port))
            {
                var result = rsc.Ping();

                Assert.IsTrue(result);
            }
        }
예제 #4
0
        public void Ping_Test()
        {
            using (RedisSentinel rsc = new RedisSentinel(ip, port))
            {
                var result = rsc.Ping();

                Assert.IsTrue(result);
            }
        }
예제 #5
0
        public void Maxclients()
        {
            for (int i = 0; i < 100; i++)
            {
                RedisSentinel rsc = new RedisSentinel(ip, port);

                var result = rsc.Ping();

                Assert.IsTrue(result);
            }
        }
예제 #6
0
        public void Maxclients()
        {
            for (int i = 0; i < 100; i++)
            {
                RedisSentinel rsc = new RedisSentinel(ip, port);

                var result = rsc.Ping();

                Assert.IsTrue(result);

            }
        }