[ 
https://issues.apache.org/jira/browse/SLING-3391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Meschberger resolved SLING-3391.
--------------------------------------

    Resolution: Fixed

The timeout for waiting for events is given in seconds instead of milliseconds. 
So setting the timeout to 5000 will wait for close 1.5h for the event to arrive 
which basically has the test stuck because the event may not come at all.

Reduced the time to 5 seconds in Rev. 1568208 and this now lets the test fail 
after 5 seconds if the event is missing.

> VanityPathTest can get stuck
> ----------------------------
>
>                 Key: SLING-3391
>                 URL: https://issues.apache.org/jira/browse/SLING-3391
>             Project: Sling
>          Issue Type: Bug
>          Components: Launchpad
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>
> As a consequence of SLING-3380 the VanityPathTest integration test gets stuck 
> forever.
> Apart from fixing the event translation in JcrEventListener, the 
> VanityPathTest should also be modified and fixed to not wait forever. Rather 
> it should terminate with a test error after some time indicating that the 
> expected event has not been received.
> See the analysis [1] in SLING-3380 for more details.
> [1] 
> https://issues.apache.org/jira/browse/SLING-3380?focusedCommentId=13901179&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13901179



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to