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

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

                Assert.IsTrue(result);
            }
        }
Ejemplo n.º 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);
            }
        }
Ejemplo n.º 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);

            }
        }