(file) Return to StressTestController.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / test / StressTestController

Diff for /pegasus/test/StressTestController/StressTestController.cpp between version 1.7 and 1.7.10.1

version 1.7, 2007/08/10 21:30:29 version 1.7.10.1, 2008/07/01 15:19:42
Line 122 
Line 122 
  
 static Uint32 DEFAULT_CLIENTS = 2; static Uint32 DEFAULT_CLIENTS = 2;
 static Uint32 Total_Clients = DEFAULT_CLIENTS; static Uint32 Total_Clients = DEFAULT_CLIENTS;
 static Uint32 Total_vClients = DEFAULT_CLIENTS;  
 static Uint32 NEW_CLIENTS = 5; static Uint32 NEW_CLIENTS = 5;
  
 static char MODELWALK_CLIENT[] = "TestModelWalkStressClient"; static char MODELWALK_CLIENT[] = "TestModelWalkStressClient";
Line 321 
Line 320 
 /** /**
  * Message resource name  * Message resource name
  */  */
 static const char PASSWORD_PROMPT [] =  
                     "Please enter your password: ";  
 static const char PASSWORD_BLANK []                          =  
                     "Password cannot be blank. Please re-enter your password.";  
 static const char LONG_HELP[] = "help"; static const char LONG_HELP[] = "help";
 static const char LONG_VERSION[] = "version"; static const char LONG_VERSION[] = "version";
 static const char LONG_VERBOSE[] = "verbose"; static const char LONG_VERBOSE[] = "verbose";
Line 1296 
Line 1291 
                     //     commands.                     //     commands.
                     //     like, -clientid, -pidfile, -clientlog                     //     like, -clientid, -pidfile, -clientlog
                     //                     //
                     for (int instanceID =0;instanceID<clientInstance[j];                      for (Uint32 instanceID = 0; instanceID<clientInstance[j];
                          instanceID++)                          instanceID++)
                     {                     {
                         outPrintWriter<<                         outPrintWriter<<
Line 1527 
Line 1522 
                             //                             //
                             // Stop all the instances of this client                             // Stop all the instances of this client
                             //                             //
                             for (int instanceID =0;                              for (Uint32 instanceID = 0;
                                  instanceID<clientInstance[clientID];                                  instanceID<clientInstance[clientID];
                                  instanceID++)                                  instanceID++)
                             {                             {
Line 1617 
Line 1612 
                                 //                                 //
                                 //  Restart all the instances of the client.                                 //  Restart all the instances of the client.
                                 //                                 //
                                 for (int instanceID =0;                                  for (Uint32 instanceID = 0;
                                     instanceID<clientInstance[clientID];                                     instanceID<clientInstance[clientID];
                                     instanceID++)                                     instanceID++)
                                 {                                 {
Line 1628 
Line 1623 
                                     act_command.append(                                     act_command.append(
                                         _clientCommands.get()[clientID]);                                         _clientCommands.get()[clientID]);
                                     act_command.append(" -clientid ");                                     act_command.append(" -clientid ");
                                     sprintf(str,"%d",clientID+instanceID);                                      sprintf(str,"%u",clientID+instanceID);
                                     act_command.append(str);                                     act_command.append(str);
                                     act_command.append(" -pidfile ");                                     act_command.append(" -pidfile ");
                                     act_command.append(" \"");                                     act_command.append(" \"");
Line 1673 
Line 1668 
                                         }                                         }
                                     }                                     }
                                     clientActive[clientID+instanceID] = true;                                     clientActive[clientID+instanceID] = true;
                                 } /* for (int instanceID =0;instanceID .. */                                  } /* for (Uint32 instanceID =0;instanceID .. */
                                 clientStopMilliseconds.get()[clientID] =                                 clientStopMilliseconds.get()[clientID] =
                                     nowMilliseconds +                                     nowMilliseconds +
                                         _clientDurations.get()[clientID];                                         _clientDurations.get()[clientID];


Legend:
Removed from v.1.7  
changed lines
  Added in v.1.7.10.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2