]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-8798 make startup time performance test accept 34s (due to ES5)
authorDaniel Schwarz <daniel.schwarz@sonarsource.com>
Mon, 7 Aug 2017 08:37:14 +0000 (10:37 +0200)
committerDaniel Schwarz <bartfastiel@users.noreply.github.com>
Wed, 9 Aug 2017 13:09:54 +0000 (15:09 +0200)
tests/src/test/java/org/sonarqube/tests/performance/server/ServerPerfTest.java

index 7aa915ce982547e324ee6e4dc827a74ae847b4d0..58be6c8df5127a4677db6791cf95b8d69af690ae 100644 (file)
@@ -60,7 +60,7 @@ public class ServerPerfTest extends AbstractPerfTest {
       // compare dates of first and last log
       long firstLogDate = ServerLogs.extractFirstDate(readLines(orchestrator.getServer().getAppLogs())).getTime();
       long startedAtDate = extractStartedAtDate(orchestrator);
-      assertDurationAround(startedAtDate - firstLogDate, 25_000);
+      assertDurationAround(startedAtDate - firstLogDate, 34_000);
 
       ServerLogs.clear(orchestrator);
       orchestrator.stop();