]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7759 Decrease expected timing of perf test
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 28 Jun 2016 07:14:05 +0000 (09:14 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Wed, 29 Jun 2016 06:44:00 +0000 (08:44 +0200)
 As WS are no more using Rails, some of them are faster

tests/perf/src/test/java/org/sonarsource/sonarqube/perf/scanner/suite/HighlightingTest.java

index 4cac738fdfea96114e988e4275c9353ac88a6fdd..264d002c6ee1d52f37f3ae2cb3b1a5b0f93ee368 100644 (file)
@@ -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);