]> source.dussan.org Git - sonarqube.git/commitdiff
Fix error margin of SourceDbBenchmarkTest
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Wed, 4 Mar 2015 19:53:19 +0000 (20:53 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Wed, 4 Mar 2015 19:53:19 +0000 (20:53 +0100)
server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/SourceDbBenchmarkTest.java

index 34dbdf0e3ccccc49c51f47d9e36e592c8fe88a48..479408f674503185a4fd737be422b91f1fd32509 100644 (file)
@@ -84,7 +84,7 @@ public class SourceDbBenchmarkTest {
       long period = end - start;
       long throughputPerSecond = 1000L * counter.get() / period;
       LOGGER.info(String.format("%d FILE_SOURCES rows scrolled in %d ms (%d rows/second)", counter.get(), period, throughputPerSecond));
-      benchmark.expectAround("Throughput to scroll FILE_SOURCES", throughputPerSecond, 120, 0.04);
+      benchmark.expectAround("Throughput to scroll FILE_SOURCES", throughputPerSecond, 120, 0.08);
 
     } finally {
       DbUtils.closeQuietly(connection);