You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2010/05/20 10:17:54 UTC
[jira] Resolved: (SLING-1525) JcrResourceListenerTest#testInWs2
fails with the actual trunk on "fast"machines from time to time.
[ https://issues.apache.org/jira/browse/SLING-1525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved SLING-1525.
-------------------------------------
Fix Version/s: JCR Resource 2.0.8
Resolution: Fixed
Thanks for your patch, Mike! I've applied it in revision 946560
> JcrResourceListenerTest#testInWs2 fails with the actual trunk on "fast"machines from time to time.
> --------------------------------------------------------------------------------------------------
>
> Key: SLING-1525
> URL: https://issues.apache.org/jira/browse/SLING-1525
> Project: Sling
> Issue Type: Bug
> Components: Testing
> Affects Versions: JCR Resource 2.0.6
> Environment: Win XP SP3, Maven 2.2.1
> Reporter: Mike Müller
> Assignee: Carsten Ziegeler
> Priority: Trivial
> Fix For: JCR Resource 2.0.8
>
> Attachments: SLING-1525.patch
>
>
> Failure:
> testInWs2(org.apache.sling.jcr.resource.internal.JcrResourceListenerTest)
> AssertionFailedError: expected:<ws2:/test1274309020796> but was:<ws2:/test1274309020796[2]>
> It seems, that createTestPath produces more than one time the same path (because called in the same millisecond). If we extend the path with a random number everything seems to be okay.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.