directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smckin...@apache.org
Subject directory-fortress-core git commit: tolerate
Date Sun, 25 Jun 2017 19:52:48 GMT
Repository: directory-fortress-core
Updated Branches:
  refs/heads/master c7c92bea2 -> 7524b3897


tolerate


Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/commit/7524b389
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/tree/7524b389
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/diff/7524b389

Branch: refs/heads/master
Commit: 7524b3897dce1796ae7526dafa18b9d1b79736c8
Parents: c7c92be
Author: Shawn McKinney <smckinney@apache.org>
Authored: Sun Jun 25 14:52:42 2017 -0500
Committer: Shawn McKinney <smckinney@apache.org>
Committed: Sun Jun 25 14:52:42 2017 -0500

----------------------------------------------------------------------
 .../fortress/core/samples/LoadTestUserSample.java       | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/7524b389/src/test/java/org/apache/directory/fortress/core/samples/LoadTestUserSample.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/directory/fortress/core/samples/LoadTestUserSample.java
b/src/test/java/org/apache/directory/fortress/core/samples/LoadTestUserSample.java
index b4b5921..9997c18 100644
--- a/src/test/java/org/apache/directory/fortress/core/samples/LoadTestUserSample.java
+++ b/src/test/java/org/apache/directory/fortress/core/samples/LoadTestUserSample.java
@@ -127,16 +127,8 @@ public class LoadTestUserSample extends TestCase
             LOG.info(szLocation + " begin users delete... (every '-' is 1000 users)");
             for( int i = 1; i <= NUMBER_TEST_USERS; i++)
             {
-                try
-                {
-                    User inUser = new User( TEST_USERID + i );
-                    adminMgr.deleteUser( inUser );
-                }
-                catch (SecurityException ex)
-                {
-                    LOG.error(szLocation + "testDeleteUsers caught SecurityException rc="
+ ex.getErrorId() + ", msg=" + ex.getMessage(), ex);
-                    fail(ex.getMessage());
-                }
+                User inUser = new User( TEST_USERID + i );
+                adminMgr.deleteUser( inUser );
                 if( i % 1000 == 0)
                 {
                     System.out.print( "-" );


Mime
View raw message