[ 
https://issues.apache.org/jira/browse/SLING-4058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14181467#comment-14181467
 ] 

Bertrand Delacretaz commented on SLING-4058:
--------------------------------------------

Looked at this with [~mduerig] and it seems like the delay is due to creating 
all my 12'500 test nodes under the root - if they are spread out in a 
multi-level structure there's no delay.

I'll modify the CommonTests.testOsgiResourceEvents test to use the multi-level 
structure, and compare with what ResourceResolverProxyTest does - but I don't 
think the latter is using such a flat structure with many nodes.

> 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