diff --git a/src/test/java/redis/clients/jedis/csc/UnifiedJedisClientSideCacheTestBase.java b/src/test/java/redis/clients/jedis/csc/UnifiedJedisClientSideCacheTestBase.java index 388113307b..566f04f9b5 100644 --- a/src/test/java/redis/clients/jedis/csc/UnifiedJedisClientSideCacheTestBase.java +++ b/src/test/java/redis/clients/jedis/csc/UnifiedJedisClientSideCacheTestBase.java @@ -52,6 +52,9 @@ public void simpleWithSimpleMap() { assertEquals("bar", jedis.get("foo")); assertEquals(1, cache.getSize()); control.del("foo"); + control.set("dummyKey", "dummyValue"); + control.get("dummyKey"); + control.del("dummyKey"); assertEquals(1, cache.getSize()); assertNull(jedis.get("foo")); assertEquals(1, cache.getSize()); @@ -80,6 +83,9 @@ public void flushAllWithSimpleMap() { assertEquals("bar", jedis.get("foo")); assertEquals(1, cache.getSize()); control.flushAll(); + control.set("dummyKey", "dummyValue"); + control.get("dummyKey"); + control.del("dummyKey"); assertEquals(1, cache.getSize()); assertNull(jedis.get("foo")); assertEquals(1, cache.getSize());