From d26c3c28de38b01d6aa4106bd22769e41b76ef93 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Tue, 28 Jun 2016 09:14:05 +0200 Subject: [PATCH] SONAR-7759 Decrease expected timing of perf test As WS are no more using Rails, some of them are faster --- .../sonarqube/perf/scanner/suite/HighlightingTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5