From 639b2991c1e4f3777e6edab427b6c52010837b43 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Wed, 25 Feb 2015 10:49:30 +0100 Subject: [PATCH] Adjust performance test --- .../org/sonar/server/benchmark/SourceIndexBenchmarkTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5