[
https://issues.apache.org/jira/browse/SLING-3061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13806788#comment-13806788
]
Bertrand Delacretaz commented on SLING-3061:
--------------------------------------------
Added the required configuration to launchpad/testing in revision 1536359,
along with a test that verifies the config.
> Integration tests fail on Oak due to reaction time after uploading new scripts
> ------------------------------------------------------------------------------
>
> Key: SLING-3061
> URL: https://issues.apache.org/jira/browse/SLING-3061
> Project: Sling
> Issue Type: Bug
> Components: Testing
> Reporter: Bertrand Delacretaz
> Assignee: Bertrand Delacretaz
> Priority: Minor
>
> A typical example isSlingResourceTypeRenderingTest.testEspHtmlInAppsFolder:
> uploadTestScript(path,"rendering-test.esp","html.esp");
> ..
> String content = getContent(displayUrl + ".html", CONTENT_TYPE_HTML);
> assertContains(content, "ESP template");
> Where the assert fails semi-randomly as the uploaded script isn't immediately
> used.
> Adding a 2 seconds sleep before getContent works around the problem, but of
> course we need something better than that.
--
This message was sent by Atlassian JIRA
(v6.1#6144)