diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-03-04 20:53:19 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-03-04 20:53:19 +0100 |
commit | ae4801956efbc9eba1971d0b899267a3e8406c42 (patch) | |
tree | c19b456821b7ef0e39b7596e9191ae46697a7651 /server/sonar-server-benchmarks | |
parent | 29cb666027135482de9e93aeaa89b20dcb015b33 (diff) | |
download | sonarqube-ae4801956efbc9eba1971d0b899267a3e8406c42.tar.gz sonarqube-ae4801956efbc9eba1971d0b899267a3e8406c42.zip |
Fix error margin of SourceDbBenchmarkTest
Diffstat (limited to 'server/sonar-server-benchmarks')
-rw-r--r-- | server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/SourceDbBenchmarkTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/SourceDbBenchmarkTest.java b/server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/SourceDbBenchmarkTest.java index 34dbdf0e3cc..479408f6745 100644 --- a/server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/SourceDbBenchmarkTest.java +++ b/server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/SourceDbBenchmarkTest.java @@ -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); |