use of com.ctrip.xpipe.redis.core.protocal.protocal.LenEofType in project x-pipe by ctripcorp.
the class DefaultRedisSlaveTest method testWaitRdbNormal.
@SuppressWarnings("resource")
@Test
public void testWaitRdbNormal() {
redisSlave.waitForRdbDumping();
sleep(waitDumpMilli / 2);
redisSlave.beginWriteRdb(new LenEofType(1000), 2);
sleep(waitDumpMilli);
Assert.assertTrue(redisSlave.isOpen());
}
Aggregations