You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2013/10/28 15:15:31 UTC
[jira] [Commented] (SLING-3061) Integration tests fail on Oak due
to reaction time after uploading new scripts
[ 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)