jedis = createJedis(config);
try {
Assert.assertEquals(String.valueOf(20), jedis.get(createKey(config.getNamespace(), STAT, PROCESSED)));
Assert.assertNull(jedis.get(createKey(config.getNamespace(), STAT, FAILED)));
Assert.assertEquals(Long.valueOf(0),
jedis.zcount(createKey(config.getNamespace(), QUEUE, delayTestQueue), "-inf", "+inf"));
} finally {
jedis.quit();
}
}
}