aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-08-31 10:38:06 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-08-31 10:38:20 +0200
commite2e52c5f487e85f480c118190f62aad49cf927d8 (patch)
tree8bfb8bbef60ee9e4b62ca830111ee599a3574305 /server
parent674fb0012f9f5d4de75c6ffcd346b65a591f1681 (diff)
downloadsonarqube-e2e52c5f487e85f480c118190f62aad49cf927d8.tar.gz
sonarqube-e2e52c5f487e85f480c118190f62aad49cf927d8.zip
Fix perf tests of issue indexing
Faster thanks to change of UUID format.
Diffstat (limited to 'server')
-rw-r--r--server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/IssueIndexBenchmarkTest.java2
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();