You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2012/12/10 15:25:21 UTC

[jira] [Commented] (SYNCOPE-247) Use complete UUID as role name to avoid problems by test rerun

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

Christian Schneider commented on SYNCOPE-247:
---------------------------------------------

I think 8 characters should be good enough normally. I think the collision may be because we do not initialize the random number generator.
                
> Use complete UUID as role name to avoid problems by test rerun
> --------------------------------------------------------------
>
>                 Key: SYNCOPE-247
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-247
>             Project: Syncope
>          Issue Type: Sub-task
>         Environment: CXF branch
>            Reporter: Andrei Shakirin
>            Assignee: Jan Bernhardt
>         Attachments: AbstractRoleTestITCase.java.patch
>
>
> Actually some of Role integration tests (issue 228, crud) cannot be rerun.
> Reason: only 8 first characters from UUID is used as role name, that causes name collisions.
> Patch for the CXF branch is attached.
> Regards,
> Andrei.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira