diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-08-12 13:37:50 +0200 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-08-16 08:20:15 +0200 |
commit | 7730cf3831bc22de8a01a45c68cfac9548bad906 (patch) | |
tree | e5842bd8219a486f6728c276622ac4195e83b6a8 /tests | |
parent | 2f9778d78317eca5d0c51d07b927f426bedcb38d (diff) | |
download | sonarqube-7730cf3831bc22de8a01a45c68cfac9548bad906.tar.gz sonarqube-7730cf3831bc22de8a01a45c68cfac9548bad906.zip |
SONAR-7960 fix ClusterTest, ServerLogsTest and WS logs example
Diffstat (limited to 'tests')
-rw-r--r-- | tests/perf/src/test/java/org/sonarsource/sonarqube/perf/ServerLogsTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/perf/src/test/java/org/sonarsource/sonarqube/perf/ServerLogsTest.java b/tests/perf/src/test/java/org/sonarsource/sonarqube/perf/ServerLogsTest.java index d1d9fe4ff7d..0cd1e63dbf7 100644 --- a/tests/perf/src/test/java/org/sonarsource/sonarqube/perf/ServerLogsTest.java +++ b/tests/perf/src/test/java/org/sonarsource/sonarqube/perf/ServerLogsTest.java @@ -28,8 +28,8 @@ public class ServerLogsTest { @Test public void logs_with_different_computations_take_the_last_one() throws Exception { assertThat(ServerLogs.extractComputationTotalTime(Lists.newArrayList( - "2015.09.29 16:57:45 INFO web[o.s.s.c.q.CeWorkerRunnableImpl] Executed task | project=com.github.kevinsawicki:http-request-parent | id=AVAZm9oHIXrp54OmOeQe | time=2283ms", - "2015.09.29 16:57:45 INFO web[o.s.s.c.q.CeWorkerRunnableImpl] Executed task | project=com.github.kevinsawicki:http-request-parent | id=AVAZm9oHIXrp54OmOeQe | time=1234ms"))) + "2015.09.29 16:57:45 INFO web[][o.s.s.c.q.CeWorkerRunnableImpl] Executed task | project=com.github.kevinsawicki:http-request-parent | id=AVAZm9oHIXrp54OmOeQe | time=2283ms", + "2015.09.29 16:57:45 INFO web[][o.s.s.c.q.CeWorkerRunnableImpl] Executed task | project=com.github.kevinsawicki:http-request-parent | id=AVAZm9oHIXrp54OmOeQe | time=1234ms"))) .isEqualTo(1234L); } |