]> source.dussan.org Git - sonarqube.git/commitdiff
Adjust performance test
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Wed, 25 Feb 2015 09:49:30 +0000 (10:49 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Wed, 25 Feb 2015 09:49:30 +0000 (10:49 +0100)
server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/SourceIndexBenchmarkTest.java

index d5f15eac616ae4b8dc86e13b57fe6dfa9d98b124..7ed033e45a9ed8c77618aa48bd6d2e67320dea6c 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, 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();