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: load test output formatting
Date Sun, 25 Jun 2017 18:18:17 GMT
Repository: directory-fortress-core
Updated Branches:
  refs/heads/master 49b76cee6 -> 0f99008fb


load test output formatting


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/0f99008f
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/tree/0f99008f
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/diff/0f99008f

Branch: refs/heads/master
Commit: 0f99008fbd294efacf41762fe289e3ce0fc3839d
Parents: 49b76ce
Author: Shawn McKinney <smckinney@apache.org>
Authored: Sun Jun 25 13:18:13 2017 -0500
Committer: Shawn McKinney <smckinney@apache.org>
Committed: Sun Jun 25 13:18:13 2017 -0500

----------------------------------------------------------------------
 .../fortress/core/samples/LoadTestUserSample.java        | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/0f99008f/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 8538a7c..fe8abf4 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
@@ -129,7 +129,12 @@ public class LoadTestUserSample extends TestCase
             {
                 User inUser = new User( TEST_USERID + i );
                 adminMgr.deleteUser( inUser );
+                if( i % 1000 == 0)
+                {
+                    System.out.print( "-" );
+                }
             }
+            System.out.println("");
             LOG.info(szLocation + " users delete success");
         }
         catch (SecurityException ex)
@@ -169,11 +174,11 @@ public class LoadTestUserSample extends TestCase
 
                 if( i % 1000 == 0)
                 {
-                    System.out.println( ".");
+                    System.out.print( "+" );
                 }
             }
-
-            LOG.info(szLocation + " users create success");
+            System.out.println("");
+            LOG.info( szLocation + " users create success" );
         }
         catch (SecurityException ex)
         {


Mime
View raw message