From 3ebdf9664f4e74ecdc3494464346fbda09c27d64 Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Mon, 23 May 2016 16:36:44 +0200 Subject: Adjust perf timings --- .../java/org/sonarsource/sonarqube/perf/scanner/suite/MemoryTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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 { -- cgit v1.2.3