Commit e85ce8ba authored by Spiros Koulouzis's avatar Spiros Koulouzis

fixed parse error

parent 88da5cb8
...@@ -283,8 +283,6 @@ public class DeployService { ...@@ -283,8 +283,6 @@ public class DeployService {
ansOut.setProvisionID(deployInfo.getProvisionID()); ansOut.setProvisionID(deployInfo.getProvisionID());
ansOut = ansibleOutputService.save(ansOut); ansOut = ansibleOutputService.save(ansOut);
BenchmarkResult benchmarkResult = parseSaveBenchmarkResult(ansOut); BenchmarkResult benchmarkResult = parseSaveBenchmarkResult(ansOut);
outputListIds.add(ansOut.getId()); outputListIds.add(ansOut.getId());
} }
...@@ -390,7 +388,7 @@ public class DeployService { ...@@ -390,7 +388,7 @@ public class DeployService {
} }
private double getApprox95Percentile(String string) { private double getApprox95Percentile(String string) {
return Double.valueOf(string.replaceAll("approx. 95 percentile::", "").replaceAll("ms", "").trim()); return Double.valueOf(string.replaceAll("approx. 95 percentile:", "").replaceAll("ms", "").trim());
} }
} }
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