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 {
String startCommand = "";
startCommand = TPCCCommandBuilder.buildStartCommand(workload.getTpccWorkloadConfig(), workload.getDbEndpoints(), TPCC_BINARY);
startCommand += " &>> " + resultFileName;
startCommand += " &> " + resultFileName;
workloadProcess
......@@ -192,12 +192,12 @@ public class WorkloadApiServiceImpl extends WorkloadApiService {
} else {
if (workloadProcess.getExitCode() != 0) {
LOGGER.debug("workloadPrcess exited with " + workloadProcess.getExitCode()
+ " Incorrect command provided? Command: " + "TODO");
+ " Incorrect command provided? Command: " + startCommand);
workloadProcessInstance.setProcessStatus(ProcessStatus.ERROR);
return Response.ok().entity(workloadProcessInstance).build();
} else {
LOGGER.debug(
"workloadPrcess already finished, incorrect command provided? Command: " + "TODO");
"workloadPrcess already finished, incorrect command provided? Command: " + startCommand);
workloadProcessInstance.setProcessStatus(ProcessStatus.IDLE);
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