]> source.dussan.org Git - sonarqube.git/commitdiff
Fix timeout of server startup perf test
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 24 May 2016 08:03:04 +0000 (10:03 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 24 May 2016 08:03:14 +0000 (10:03 +0200)
Faster thanks to the move to Java 8

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

index 3fb1ce227837e830b8f7ea3a46a2628784be9206..866b31e247aeffac92af702b100bc698631faf26 100644 (file)
@@ -58,7 +58,7 @@ public class ServerTest extends PerfTestCase {
       // compare dates of first and last log
       long firstLogDate = ServerLogs.extractFirstDate(readLogLines(orchestrator)).getTime();
       long startedAtDate = extractStartedAtDate(orchestrator);
-      assertDurationAround(startedAtDate - firstLogDate, 45000);
+      assertDurationAround(startedAtDate - firstLogDate, 38_000);
 
       ServerLogs.clear(orchestrator);
       orchestrator.stop();