From 971c84d19547548ca70251d6131018ed0d083179 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Lesaint?= Date: Mon, 29 Aug 2016 09:49:08 +0200 Subject: [PATCH] SONAR-7844 fix ComputationTest using dropped ce_activity.log --- .../main/java/org/sonarsource/sonarqube/perf/ServerLogs.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/perf/src/main/java/org/sonarsource/sonarqube/perf/ServerLogs.java b/tests/perf/src/main/java/org/sonarsource/sonarqube/perf/ServerLogs.java index 711ee1a59c6..9bacd727c2f 100644 --- a/tests/perf/src/main/java/org/sonarsource/sonarqube/perf/ServerLogs.java +++ b/tests/perf/src/main/java/org/sonarsource/sonarqube/perf/ServerLogs.java @@ -65,7 +65,7 @@ public class ServerLogs { * 2015.09.29 16:57:45 INFO ce[o.s.s.c.q.CeWorkerRunnableImpl] Executed task | project=com.github.kevinsawicki:http-request-parent | id=AVAZm9oHIXrp54OmOeQe | time=2283ms */ public static Long extractComputationTotalTime(Orchestrator orchestrator) throws IOException { - File report = new File(orchestrator.getServer().getLogs().getParent(), "ce_activity.log"); + File report = orchestrator.getServer().getLogs(); List logsLines = FileUtils.readLines(report, Charsets.UTF_8); return extractComputationTotalTime(logsLines); } -- 2.39.5