aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2016-05-23 16:36:44 +0200
committerDuarte Meneses <duarte.meneses@sonarsource.com>2016-05-23 16:36:44 +0200
commit5edd6db5e0e233ac77cda7e7ef5c254b2eccd875 (patch)
treeec84fbea4015a28df48390c9d4ad61ce2eb7c7fd /tests
parent9121d8b55d00b550a0bc98a42476ab09ab45af13 (diff)
downloadsonarqube-5edd6db5e0e233ac77cda7e7ef5c254b2eccd875.tar.gz
sonarqube-5edd6db5e0e233ac77cda7e7ef5c254b2eccd875.zip
Adjust perf timings
Diffstat (limited to 'tests')
-rw-r--r--tests/perf/src/test/java/org/sonarsource/sonarqube/perf/scanner/suite/MemoryTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/perf/src/test/java/org/sonarsource/sonarqube/perf/scanner/suite/MemoryTest.java b/tests/perf/src/test/java/org/sonarsource/sonarqube/perf/scanner/suite/MemoryTest.java
index ff1a224a4ed..ce903b56590 100644
--- a/tests/perf/src/test/java/org/sonarsource/sonarqube/perf/scanner/suite/MemoryTest.java
+++ b/tests/perf/src/test/java/org/sonarsource/sonarqube/perf/scanner/suite/MemoryTest.java
@@ -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 {