[
https://issues.apache.org/jira/browse/SYNCOPE-247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13527960#comment-13527960
]
Andrei Shakirin commented on SYNCOPE-247:
-----------------------------------------
Accordingly javadoc for randomUUID() it should work without extra
initialization:
"Static factory to retrieve a type 4 (pseudo randomly generated) UUID. The UUID
is generated using a cryptographically strong pseudo random number generator."
Problem disappear if I use complete UUID (not only 8 first characters).
> 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