You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Mike Müller (JIRA)" <ji...@apache.org> on 2010/05/20 00:47:54 UTC

[jira] Created: (SLING-1525) JcrResourceListenerTest#testInWs2 fails with the actual trunk on "fast"machines from time to time.

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: Mike Müller
            Priority: Trivial


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.


[jira] Updated: (SLING-1525) JcrResourceListenerTest#testInWs2 fails with the actual trunk on "fast"machines from time to time.

Posted by "Mike Müller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Müller updated SLING-1525:
-------------------------------

    Attachment: SLING-1525.patch

Patch to fix.

> 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: Mike Müller
>            Priority: Trivial
>         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.


[jira] Resolved: (SLING-1525) JcrResourceListenerTest#testInWs2 fails with the actual trunk on "fast"machines from time to time.

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Assigned: (SLING-1525) JcrResourceListenerTest#testInWs2 fails with the actual trunk on "fast"machines from time to time.

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler reassigned SLING-1525:
---------------------------------------

    Assignee: Carsten Ziegeler  (was: Mike Müller)

> 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
>         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.