]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-8684 Decrease expected startup time
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 23 Jan 2017 15:58:22 +0000 (16:58 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 24 Jan 2017 17:36:49 +0000 (18:36 +0100)
 The removal of rails has increased the server startup!

tests/perf/src/test/java/org/sonarsource/sonarqube/perf/server/ServerTest.java

index 10b484bd30c28d92eeb7c7e600abf5e9322865ba..17d3d6a3a58b78d8ebbd27326faa4d2a25bfce9b 100644 (file)
@@ -59,7 +59,7 @@ public class ServerTest extends PerfTestCase {
       // compare dates of first and last log
       long firstLogDate = ServerLogs.extractFirstDate(readLines(orchestrator.getServer().getAppLogs())).getTime();
       long startedAtDate = extractStartedAtDate(orchestrator);
-      assertDurationAround(startedAtDate - firstLogDate, 38_000);
+      assertDurationAround(startedAtDate - firstLogDate, 28_000);
 
       ServerLogs.clear(orchestrator);
       orchestrator.stop();