This commit is contained in:
Darren 2018-12-05 15:53:02 -08:00 коммит произвёл Ryan Newton
Родитель e735c9b668
Коммит 00a5e53c76
3 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -47,7 +47,7 @@ namespace AmbrosiaTest
string logOutputFileName_AMB1 = testName + "_AMB1.log";
AMB_Settings AMB1 = new AMB_Settings
{
AMB_ImmCoordName = testName + "immcoord1",
AMB_ServiceName = clientJobName,
AMB_PortAppReceives = "1000",
AMB_PortAMBSends = "1001",
AMB_ServiceLogPath = ambrosiaLogDir,
@ -64,7 +64,7 @@ namespace AmbrosiaTest
string logOutputFileName_AMB2 = testName + "_AMB2.log";
AMB_Settings AMB2 = new AMB_Settings
{
AMB_ImmCoordName = testName + "immcoord2",
AMB_ServiceName = serverName,
AMB_PortAppReceives = "2000",
AMB_PortAMBSends = "2001",
AMB_ServiceLogPath = ambrosiaLogDir,
@ -79,11 +79,11 @@ namespace AmbrosiaTest
//ImmCoord1
string logOutputFileName_ImmCoord1 = testName + "_ImmCoord1.log";
int ImmCoordProcessID1 = MyUtils.StartImmCoord(testName + "immcoord1", 1500, logOutputFileName_ImmCoord1);
int ImmCoordProcessID1 = MyUtils.StartImmCoord(clientJobName, 1500, logOutputFileName_ImmCoord1);
//ImmCoord2
string logOutputFileName_ImmCoord2 = testName + "_ImmCoord2.log";
int ImmCoordProcessID2 = MyUtils.StartImmCoord(testName + "immcoord2", 2500, logOutputFileName_ImmCoord2);
int ImmCoordProcessID2 = MyUtils.StartImmCoord(serverName, 2500, logOutputFileName_ImmCoord2);
//Client Job Call
string logOutputFileName_ClientJob = testName + "_ClientJob.log";

Просмотреть файл

@ -809,7 +809,7 @@ namespace AmbrosiaTest
// Launch the server process with these values
string workingDir = ConfigurationManager.AppSettings["AsyncPerfTestServerExeWorkingDirectory"];
string fileNameExe = "Server.exe";
string argString = receivePort + " " + sendPort + " " + perfServerName + " C ";
string argString = "-rp="+receivePort + " -sp=" + sendPort + " -s=" + perfServerName + " -c ";
int processID = LaunchProcess(workingDir, fileNameExe, argString, false, testOutputLogFile);
if (processID <= 0)
@ -857,7 +857,7 @@ namespace AmbrosiaTest
// Launch the client job process with these values
string workingDir = ConfigurationManager.AppSettings["AsyncPerfTestJobExeWorkingDirectory"];
string fileNameExe = "Job.exe";
string argString = receivePort + " " + sendPort + " " + perfJobName + " " + perfServerName +" C "; // + " " + perfMessageSize + " " + perfNumberRounds + " Y C"; // auto continue should be there for all tests
string argString = "-rp="+receivePort + " -sp=" + sendPort + " -j=" + perfJobName + " -s=" + perfServerName +" -c ";
int processID = LaunchProcess(workingDir, fileNameExe, argString, false, testOutputLogFile);
if (processID <= 0)

Просмотреть файл

@ -170,7 +170,7 @@ namespace Job
{ "s|serverName=", "The service name of the server [REQUIRED].", s => _perfServer = s },
{ "rp|receivePort=", "The service receive from port [REQUIRED].", rp => _receivePort = int.Parse(rp) },
{ "sp|sendPort=", "The service send to port. [REQUIRED]", sp => _sendPort = int.Parse(sp) },
{ "c|autoContinue=", "Is continued automatically at start", c => _autoContinue = true },
{ "c|autoContinue", "Is continued automatically at start", c => _autoContinue = true },
{ "h|help", "show this message and exit", h => showHelp = h != null },
};