]> source.dussan.org Git - sonarqube.git/commitdiff
Fix SourceIndexBenchmarkTest as indexing was improved (some fields are not searchable...
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Wed, 11 Feb 2015 16:59:39 +0000 (17:59 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Wed, 11 Feb 2015 16:59:48 +0000 (17:59 +0100)
server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/SourceIndexBenchmarkTest.java

index ad8a54d0388b48aa44ceee455fdc21d76c7b4fd1..d5f15eac616ae4b8dc86e13b57fe6dfa9d98b124 100644 (file)
@@ -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, 7400, 7800);
+    benchmark.expectBetween("Throughput to index source lines", throughputPerSecond, 7800, 8200);
 
     // be sure that physical files do not evolve during estimation of size
     tester.get(EsClient.class).prepareOptimize(SourceLineIndexDefinition.INDEX).get();