aem-testing-clients
aem-testing-clients copied to clipboard
Wrong delay in TemporaryContentAuthorGroup class
The timeout is 1000000 milliseconds instead of 1000. p.poll(DEFAULT_TIMEOUT, SECONDS.toMillis(DEFAULT_RETRY_DELAY)); DEFAULT_RETRY_DELAY equals to 1000 and the result is million milliseconds (~16 minutes), which does not seem logical. The code can be replaced with: p.poll(DEFAULT_TIMEOUT, DEFAULT_RETRY_DELAY); or p.poll(DEFAULT_TIMEOUT, SECONDS.toMillis(1));
@hrayrpapikyan do you have a PR to see the change in the context?