[
https://issues.apache.org/jira/browse/SYNCOPE-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13553640#comment-13553640
]
Hudson commented on SYNCOPE-268:
--------------------------------
Integrated in Syncope-trunk #432 (See
[https://builds.apache.org/job/Syncope-trunk/432/])
[SYNCOPE-268] Make rest integration tests re-runnable (Revision 1433327)
Result = SUCCESS
ashakirin :
Files :
*
/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/NotificationTestITCase.java
*
/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/RoleTestITCase.java
*
/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/SchemaTestITCase.java
*
/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/UserRequestTestITCase.java
> Enable Rest IntegrationTests to run more than once (per build)
> --------------------------------------------------------------
>
> Key: SYNCOPE-268
> URL: https://issues.apache.org/jira/browse/SYNCOPE-268
> Project: Syncope
> Issue Type: Improvement
> Components: core
> Reporter: Jan Bernhardt
> Assignee: Jan Bernhardt
> Labels: test
> Fix For: 1.1.0
>
> Attachments: RerunnableRestIntegrationTests-1.patch,
> RerunnableRestIntegrationTests-2.patch
>
>
> Currently many Rest IntegrationTests can run only once. If you try to rerun
> some Tests they will fail, due to the fact, that a resource with the same
> same already exists, or that a resource was deleted previously and is not
> available any longer. This works fine for "mvn clean verify" since all test
> run exactly once. But for development phase this is inconvenient, because
> while testing new features or other refactorings, one would like to run tests
> several times (especially if they fail), without the need to
> rebuild/package/deploy the whole core module.
> Tasks of this JIRA ticket is to use random identifier for resources (user,
> role, ...) to avoid collisions, when running tests multiple times. In some
> cases it will also be preferable to use a try { } final { } statement to
> cleanup previously created resources.
--
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