You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by as...@apache.org on 2013/01/31 16:06:03 UTC

svn commit: r1441004 - in /syncope/trunk/core/src/test/java/org/apache/syncope/core/rest: TaskTestITCase.java UserTestITCase.java

Author: ashakirin
Date: Thu Jan 31 15:06:02 2013
New Revision: 1441004

URL: http://svn.apache.org/viewvc?rev=1441004&view=rev
Log:
Added comments to non re-runnable test and workaround for SYNCOPE-298

Modified:
    syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/TaskTestITCase.java
    syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/UserTestITCase.java

Modified: syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/TaskTestITCase.java
URL: http://svn.apache.org/viewvc/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/TaskTestITCase.java?rev=1441004&r1=1441003&r2=1441004&view=diff
==============================================================================
--- syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/TaskTestITCase.java (original)
+++ syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/TaskTestITCase.java Thu Jan 31 15:06:02 2013
@@ -199,6 +199,8 @@ public class TaskTestITCase extends Abst
     }
 
     @Test
+    // Currently test is not re-runnable.
+    // To successfully run test second time it is necessary to restart cargo. 
     public void deal() {
         try {
             taskService.delete(0L);

Modified: syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/UserTestITCase.java
URL: http://svn.apache.org/viewvc/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/UserTestITCase.java?rev=1441004&r1=1441003&r2=1441004&view=diff
==============================================================================
--- syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/UserTestITCase.java (original)
+++ syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/UserTestITCase.java Thu Jan 31 15:06:02 2013
@@ -1894,7 +1894,8 @@ public class UserTestITCase extends Abst
         try {
             userTO = createUser(userTO);
         } catch (SyncopeClientCompositeErrorException scce) {
-        	// TODO Dirty workaround for AUTO generation Id strategy problem in AbstractVirAttr. Must be fixed ASAP
+            // TODO Dirty workaround for AUTO generation Id strategy problem in AbstractVirAttr.
+            // Must be removed after fix of SYNCOPE-298
         	SyncopeClientException sce = scce.getException(SyncopeClientExceptionType.DataIntegrityViolation);
         	assertNotNull(sce);
         	return;