]> source.dussan.org Git - sonarqube.git/commit
SONAR-6732 fix ServerTest perf test confused by extra JVM
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Tue, 22 Mar 2016 11:01:05 +0000 (12:01 +0100)
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Tue, 22 Mar 2016 13:24:57 +0000 (14:24 +0100)
commit6b29d25a5aeb56e1e73d9e430829bca85c159805
tree171f6060ca5feef4f1ffa26d3fdf7e7708636152
parent0958d15fb30f976e53dfc7492f2f361aaa412f47
SONAR-6732 fix ServerTest perf test confused by extra JVM

orchestrator is using the WS /api/server/index which does not wait for the Compute Engine in its own process to actually finish starting
startup time and shutdown time are therefor incorrectly calculated. We now rely on logs to compute them correctly, until the WS is updated
server/sonar-ce/src/main/java/org/sonar/ce/app/CeServer.java
tests/perf/src/main/java/org/sonarsource/sonarqube/perf/ServerLogs.java
tests/perf/src/test/java/org/sonarsource/sonarqube/perf/server/ServerTest.java