aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2016-05-24 10:03:04 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2016-05-24 10:03:14 +0200
commit0b19ba736ef4e9132729c3043e7a783c2b0f22e8 (patch)
tree5e8e388b44d936e897723b8af3647ae4835c6e33
parentde4e5702ce7bcc201830e0a36396472141f7ee2d (diff)
downloadsonarqube-0b19ba736ef4e9132729c3043e7a783c2b0f22e8.tar.gz
sonarqube-0b19ba736ef4e9132729c3043e7a783c2b0f22e8.zip
Fix timeout of server startup perf test
Faster thanks to the move to Java 8
-rw-r--r--tests/perf/src/test/java/org/sonarsource/sonarqube/perf/server/ServerTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/perf/src/test/java/org/sonarsource/sonarqube/perf/server/ServerTest.java b/tests/perf/src/test/java/org/sonarsource/sonarqube/perf/server/ServerTest.java
index 3fb1ce22783..866b31e247a 100644
--- a/tests/perf/src/test/java/org/sonarsource/sonarqube/perf/server/ServerTest.java
+++ b/tests/perf/src/test/java/org/sonarsource/sonarqube/perf/server/ServerTest.java
@@ -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();