ATTENTION: we are currently upgrading gitlabs storage backend for repositories. This may cause unavailability and in unlikely cases also data loss. Therefore, we recommend to keep local copies of all repos. Issues, Milestones, and other features of gitlab are not affected.

Commit f4a19e8b authored by Daniel Seybold's avatar Daniel Seybold

fixed output or TPC-C

parent 3af84e43
Pipeline #74144 passed with stage
in 15 minutes and 48 seconds
...@@ -176,7 +176,7 @@ public class WorkloadApiServiceImpl extends WorkloadApiService { ...@@ -176,7 +176,7 @@ public class WorkloadApiServiceImpl extends WorkloadApiService {
String startCommand = ""; String startCommand = "";
startCommand = TPCCCommandBuilder.buildStartCommand(workload.getTpccWorkloadConfig(), workload.getDbEndpoints(), TPCC_BINARY); startCommand = TPCCCommandBuilder.buildStartCommand(workload.getTpccWorkloadConfig(), workload.getDbEndpoints(), TPCC_BINARY);
startCommand += " &>> " + resultFileName; startCommand += " &> " + resultFileName;
workloadProcess workloadProcess
...@@ -192,12 +192,12 @@ public class WorkloadApiServiceImpl extends WorkloadApiService { ...@@ -192,12 +192,12 @@ public class WorkloadApiServiceImpl extends WorkloadApiService {
} else { } else {
if (workloadProcess.getExitCode() != 0) { if (workloadProcess.getExitCode() != 0) {
LOGGER.debug("workloadPrcess exited with " + workloadProcess.getExitCode() LOGGER.debug("workloadPrcess exited with " + workloadProcess.getExitCode()
+ " Incorrect command provided? Command: " + "TODO"); + " Incorrect command provided? Command: " + startCommand);
workloadProcessInstance.setProcessStatus(ProcessStatus.ERROR); workloadProcessInstance.setProcessStatus(ProcessStatus.ERROR);
return Response.ok().entity(workloadProcessInstance).build(); return Response.ok().entity(workloadProcessInstance).build();
} else { } else {
LOGGER.debug( LOGGER.debug(
"workloadPrcess already finished, incorrect command provided? Command: " + "TODO"); "workloadPrcess already finished, incorrect command provided? Command: " + startCommand);
workloadProcessInstance.setProcessStatus(ProcessStatus.IDLE); workloadProcessInstance.setProcessStatus(ProcessStatus.IDLE);
return Response.ok().entity(workloadProcessInstance).build(); return Response.ok().entity(workloadProcessInstance).build();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment