From: Julien Lancelot Date: Tue, 28 Jun 2016 07:14:05 +0000 (+0200) Subject: SONAR-7759 Decrease expected timing of perf test X-Git-Tag: 6.0-RC1~230 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d26c3c28de38b01d6aa4106bd22769e41b76ef93;p=sonarqube.git SONAR-7759 Decrease expected timing of perf test As WS are no more using Rails, some of them are faster --- diff --git a/tests/perf/src/test/java/org/sonarsource/sonarqube/perf/scanner/suite/HighlightingTest.java b/tests/perf/src/test/java/org/sonarsource/sonarqube/perf/scanner/suite/HighlightingTest.java index 4cac738fdfe..264d002c6ee 100644 --- a/tests/perf/src/test/java/org/sonarsource/sonarqube/perf/scanner/suite/HighlightingTest.java +++ b/tests/perf/src/test/java/org/sonarsource/sonarqube/perf/scanner/suite/HighlightingTest.java @@ -97,7 +97,7 @@ public class HighlightingTest extends PerfTestCase { BuildResult result = orchestrator.executeBuild(scanner); System.out.println("Total time: " + MavenLogs.extractTotalTime(result.getLogs())); - perfRule.assertDurationAround(MavenLogs.extractTotalTime(result.getLogs()), 28200L); + perfRule.assertDurationAround(MavenLogs.extractTotalTime(result.getLogs()), 25700L); Properties prof = readProfiling(baseDir, "highlighting"); perfRule.assertDurationAround(Long.valueOf(prof.getProperty("Xoo Highlighting Sensor")), 9700L);