Hi Petr, On Tue, Jun 30, 2015 at 12:24 PM, Petr Shypila <[email protected]> wrote: > ...I will add Thread.sleep(300)(?) calls before checking that content was > uninstalled..
That's ugly ;-) If you need a retry loop, you can either reuse the one from [1] (which is a bit verbose to use) or implement something similar - wait a small amount of time between checks, up to a timeout. > ...By the way, first time I tried to understand how I can extend > your ContentBundleTestBase class and use with several bundles, but after I > didn't find a nice solution for that, I did it in my way... Ok that works as well. -Bertrand [1] https://svn.apache.org/repos/asf/sling/trunk/testing/tools/src/main/java/org/apache/sling/testing/tools/retry/RetryLoop.java
