From e43e1a4bf4fd23c053d1e889028812018765ea45 Mon Sep 17 00:00:00 2001
From: smaguin <smaguin@localhost>
Date: Tue, 08 Jul 2008 10:20:52 +0000
Subject: [PATCH] remove STAF_LOCAL_HOSTNAME update comments

---
 opendj-sdk/opends/tests/system-tests/scenario/singleServer/clients/secureSearch/src/Client.java |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/opendj-sdk/opends/tests/system-tests/scenario/singleServer/clients/secureSearch/src/Client.java b/opendj-sdk/opends/tests/system-tests/scenario/singleServer/clients/secureSearch/src/Client.java
index 4ee2442..48982fa 100644
--- a/opendj-sdk/opends/tests/system-tests/scenario/singleServer/clients/secureSearch/src/Client.java
+++ b/opendj-sdk/opends/tests/system-tests/scenario/singleServer/clients/secureSearch/src/Client.java
@@ -27,9 +27,7 @@
 import java.io.*;
 import java.lang.Thread;
 import javax.naming.*;
-//import javax.naming.directory.InitialDirContext;
 import javax.naming.directory.SearchControls;
-//import javax.naming.directory.DirContext;
 import javax.naming.directory.SearchResult;
 import javax.naming.directory.Attributes;
 import javax.naming.ldap.*;
@@ -73,6 +71,12 @@
         DNList=new ArrayList<String>();
 	uidList=new ArrayList<String>();
         
+        /*
+         * Execute a search on baseDN to get the list of uid 
+         * and set the DNlist
+         * This connexion can be secure or not depending of the client's configuration
+         * the BindDN is directory manager
+         */
         try {
 
             Hashtable envLdap = set_properties_LDAP_simpleBind();
@@ -121,15 +125,15 @@
 	    e.printStackTrace();
 	    System.exit(1);
         }
-       
+
         
         try {
-           
+
 	    // execute the threads
             for (int i=0; i < nb_threads; i++ ) {
                 Worker w = new Worker(this, server);
             }
-     
+
             println ("INFO", nb_threads + " threads connected to server " + server );
         
 	    // Wait until all the threads have initialized their context 
@@ -158,6 +162,7 @@
 
                 long new_t1=System.currentTimeMillis();
                 long print_t2=System.currentTimeMillis(); 
+                
 		// end of the  system test. Exit
                 if ( ( timeTostopTest != 0 ) && ( new_t1 > timeTostopTest ) ) { 
                   
@@ -185,7 +190,7 @@
                 
 		// status every second
                 if ( (new_t1 - t1) >= delayCnx ) {
-                 
+
                  //   println("INFO",  (nb_srchs_done/delaySec) + "  srch/sec.");                 
               
 		    // inform all the threads the max nb searchs has been reached

--
Gitblit v1.10.0