On Sun, Oct 3, 2010 at 9:45 AM, <[email protected]> wrote: > Author: fmeschbe > Date: Sun Oct 3 07:45:53 2010 > New Revision: 1003926 >... > Modified: > > sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/servlets/post/PostServletVersionableTest.java >... > @Override > protected void setUp() throws Exception { > + // enable autoCheckout for the tests >... > + assertPostStatus(CFG_URL, 302, config, null); >... > + Thread.sleep(500); // give async config update some time
Isn't there a better way, like rereading the config to make sure it's been updated? This looks fragile, and will slow down the tests. -Bertrand
