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

Bertrand Delacretaz resolved SLING-4058.
----------------------------------------
    Resolution: Fixed

At revision 1635083 all the active ResourceResolverTest tests pass - the key 
was better isolation between tests, by removing and re-adding test nodes 
between each test. The test code depends on the 
org/apache/sling/api/resource/ResourceResolverMapping/CHANGED event which might 
be emitted slightly differently with Oak without influencing system behavior, 
so it looks like the tests were at fault.

> ResourceResolverProxyTest fails on Oak, 10 second delay in observation
> ----------------------------------------------------------------------
>
>                 Key: SLING-4058
>                 URL: https://issues.apache.org/jira/browse/SLING-4058
>             Project: Sling
>          Issue Type: Bug
>          Components: Oak
>         Environment: macosx 10.9.5, java version "1.7.0_45", oak 1.0.7
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>         Attachments: oak-12500nodes-logs.zip
>
>
> As seen at https://builds.apache.org/view/S-Z/view/Sling/job/sling-oak-it-1.6 
> and on my box, tests fail with
> bq. Timeout waiting for 
> org/apache/sling/api/resource/ResourceResolverMapping/CHANGED event, after 
> 10000 msec, 
> and as a result the test takes age to run.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to