]> source.dussan.org Git - sonarqube.git/commitdiff
Adjust perf timings
authorDuarte Meneses <duarte.meneses@sonarsource.com>
Mon, 23 May 2016 14:36:44 +0000 (16:36 +0200)
committerDuarte Meneses <duarte.meneses@sonarsource.com>
Mon, 23 May 2016 15:20:13 +0000 (17:20 +0200)
tests/perf/src/test/java/org/sonarsource/sonarqube/perf/scanner/suite/MemoryTest.java

index ff1a224a4eddff00bfe26552193e5cef8aebba09..ce903b565903861c97fe9f1918306b254d645404 100644 (file)
@@ -89,12 +89,12 @@ public class MemoryTest extends PerfTestCase {
       .setProjectDir(baseDir);
 
     BuildResult result = orchestrator.executeBuild(scanner);
-    perfRule.assertDurationAround(MavenLogs.extractTotalTime(result.getLogs()), 5360L);
+    perfRule.assertDurationAround(MavenLogs.extractTotalTime(result.getLogs()), 4480L);
 
     // Second execution with a property on server side
     orchestrator.getServer().getAdminWsClient().create(new PropertyCreateQuery("sonar.anotherBigProp", Strings.repeat("B", 1000), "big-module-tree"));
     result = orchestrator.executeBuild(scanner);
-    perfRule.assertDurationAround(MavenLogs.extractTotalTime(result.getLogs()), 5600L);
+    perfRule.assertDurationAround(MavenLogs.extractTotalTime(result.getLogs()), 4420L);
   }
 
   private void prepareModule(File parentDir, String moduleName, int depth) throws IOException {