syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject syncope git commit: [SYNCOPE-142] Improving test execution on fast hw
Date Thu, 29 Oct 2015 17:21:53 GMT
Repository: syncope
Updated Branches:
  refs/heads/master 1b81e33c7 -> 764fa2eca


[SYNCOPE-142] Improving test execution on fast hw


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/764fa2ec
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/764fa2ec
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/764fa2ec

Branch: refs/heads/master
Commit: 764fa2eca81fc37d52b2dd09c49efb6b9e0b1312
Parents: 1b81e33
Author: Francesco Chicchiriccò <ilgrosso@apache.org>
Authored: Thu Oct 29 18:21:41 2015 +0100
Committer: Francesco Chicchiriccò <ilgrosso@apache.org>
Committed: Thu Oct 29 18:21:41 2015 +0100

----------------------------------------------------------------------
 .../java/org/apache/syncope/fit/core/reference/UserITCase.java | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/764fa2ec/fit/core-reference/src/test/java/org/apache/syncope/fit/core/reference/UserITCase.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/core/reference/UserITCase.java
b/fit/core-reference/src/test/java/org/apache/syncope/fit/core/reference/UserITCase.java
index 0fb428d..94e51d7 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/core/reference/UserITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/core/reference/UserITCase.java
@@ -971,8 +971,10 @@ public class UserITCase extends AbstractITCase {
             }
         });
         assertEquals(PropagationTaskExecStatus.SUCCESS, byResource.get(RESOURCE_NAME_LDAP).getStatus());
-        assertEquals(PropagationTaskExecStatus.CREATED, byResource.get(RESOURCE_NAME_TESTDB).getStatus());
-        assertEquals(PropagationTaskExecStatus.CREATED, byResource.get(RESOURCE_NAME_TESTDB2).getStatus());
+        assertTrue(byResource.get(RESOURCE_NAME_TESTDB).getStatus() == PropagationTaskExecStatus.CREATED
+		   || byResource.get(RESOURCE_NAME_TESTDB).getStatus() == PropagationTaskExecStatus.SUCCESS);
+        assertTrue(byResource.get(RESOURCE_NAME_TESTDB2).getStatus() == PropagationTaskExecStatus.CREATED
+		   || byResource.get(RESOURCE_NAME_TESTDB2).getStatus() == PropagationTaskExecStatus.SUCCESS);
     }
 
     @Test


Mime
View raw message