diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-02-25 10:49:30 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-02-25 10:49:30 +0100 |
commit | 639b2991c1e4f3777e6edab427b6c52010837b43 (patch) | |
tree | 8ae0dfd5ce57d4101d3265617701cf5600c15068 /server/sonar-server-benchmarks | |
parent | 1cc721a41819e347c3000c991eef7adcaa6db8eb (diff) | |
download | sonarqube-639b2991c1e4f3777e6edab427b6c52010837b43.tar.gz sonarqube-639b2991c1e4f3777e6edab427b6c52010837b43.zip |
Adjust performance test
Diffstat (limited to 'server/sonar-server-benchmarks')
-rw-r--r-- | server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/SourceIndexBenchmarkTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/SourceIndexBenchmarkTest.java b/server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/SourceIndexBenchmarkTest.java index d5f15eac616..7ed033e45a9 100644 --- a/server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/SourceIndexBenchmarkTest.java +++ b/server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/SourceIndexBenchmarkTest.java @@ -88,7 +88,7 @@ public class SourceIndexBenchmarkTest { long nbLines = files.count.get() * LINES_PER_FILE; long throughputPerSecond = 1000L * nbLines / period; LOGGER.info(String.format("%d lines indexed in %d ms (%d docs/second)", nbLines, period, throughputPerSecond)); - benchmark.expectBetween("Throughput to index source lines", throughputPerSecond, 7800, 8200); + benchmark.expectBetween("Throughput to index source lines", throughputPerSecond, 7500, 8000); // be sure that physical files do not evolve during estimation of size tester.get(EsClient.class).prepareOptimize(SourceLineIndexDefinition.INDEX).get(); |