Authored by jack

增加读写延迟

... ... @@ -275,6 +275,8 @@ public class RedisTask extends Task {
//写主 读主
client.set(testKey.getBytes(), testValue.getBytes());
Thread.sleep(1000);
String testResult = new String(client.get(testKey.getBytes()));
if (StringUtils.equals(testValue, testResult)) {
... ...