diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-08-31 10:38:06 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-08-31 10:38:20 +0200 |
commit | e2e52c5f487e85f480c118190f62aad49cf927d8 (patch) | |
tree | 8bfb8bbef60ee9e4b62ca830111ee599a3574305 /server/sonar-server-benchmarks | |
parent | 674fb0012f9f5d4de75c6ffcd346b65a591f1681 (diff) | |
download | sonarqube-e2e52c5f487e85f480c118190f62aad49cf927d8.tar.gz sonarqube-e2e52c5f487e85f480c118190f62aad49cf927d8.zip |
Fix perf tests of issue indexing
Faster thanks to change of UUID format.
Diffstat (limited to 'server/sonar-server-benchmarks')
-rw-r--r-- | server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/IssueIndexBenchmarkTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/IssueIndexBenchmarkTest.java b/server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/IssueIndexBenchmarkTest.java index faa4279b78b..05dc434bb51 100644 --- a/server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/IssueIndexBenchmarkTest.java +++ b/server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/IssueIndexBenchmarkTest.java @@ -114,7 +114,7 @@ public class IssueIndexBenchmarkTest { long period = System.currentTimeMillis() - start; long throughputPerSecond = 1000 * issues.count.get() / period; LOGGER.info(String.format("%d issues indexed in %d ms (%d docs/second)", issues.count.get(), period, throughputPerSecond)); - benchmark.expectAround("Throughput to index issues", throughputPerSecond, 5116, Benchmark.DEFAULT_ERROR_MARGIN_PERCENTS); + benchmark.expectAround("Throughput to index issues", throughputPerSecond, 6500, Benchmark.DEFAULT_ERROR_MARGIN_PERCENTS); // be sure that physical files do not evolve during estimation of size tester.get(EsClient.class).prepareOptimize("issues").setWaitForMerge(true).get(); |