We're currently using Thread.sleep to allow enough time for a message to be processed. This fails occasionally if the message processing thread isn't scheduled quickly enough. We should use Awaitility instead.
Comment From: tszmytka
If no one else is working on this I would be happy to take over.
Comment From: wilkinsona
Yes please, @tszmytka. That'd be great.
Comment From: wilkinsona
Closing in favour of https://github.com/spring-projects/spring-boot/pull/21988.