title: How to test Redis without using sleep
body: <p>I want to create a test with Spring-Data-Redis that does a simple <code>save</code> and <code>find</code> operation but the find operation fails likely because it is still not ready to be found.  So to work around the problem I just put a <code>Thread.sleep(2000)</code> after the save(), but I was wondering if there was a better way of doing it.</p>
  <p>Something like</p>
  <p>await redis.findById(xxx)</p>