aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-server-benchmarks/src
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-09-15 11:49:41 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-09-15 11:49:41 +0200
commit32dcee49dc835eaeb9345c6558198f33f5d9efc7 (patch)
tree769573f54754f18068cf7a375b9e402b3306916a /server/sonar-server-benchmarks/src
parent6b374d017959b404355bfb5f18b45b2cac581a11 (diff)
downloadsonarqube-32dcee49dc835eaeb9345c6558198f33f5d9efc7.tar.gz
sonarqube-32dcee49dc835eaeb9345c6558198f33f5d9efc7.zip
Fix benchmark of saving of FILE_SOURCES
Diffstat (limited to 'server/sonar-server-benchmarks/src')
-rw-r--r--server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/PersistFileSourcesStepTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/PersistFileSourcesStepTest.java b/server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/PersistFileSourcesStepTest.java
index 491c8b0643e..eadde392bb5 100644
--- a/server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/PersistFileSourcesStepTest.java
+++ b/server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/PersistFileSourcesStepTest.java
@@ -90,7 +90,7 @@ public class PersistFileSourcesStepTest {
assertThat(dbTester.countRowsOfTable("file_sources")).isEqualTo(NUMBER_OF_FILES);
LOGGER.info(String.format("File sources has been persisted in %d ms", duration));
- benchmark.expectAround("Duration to persist FILE_SOURCES", duration, 140000, Benchmark.DEFAULT_ERROR_MARGIN_PERCENTS);
+ benchmark.expectAround("Duration to persist FILE_SOURCES", duration, 125000, Benchmark.DEFAULT_ERROR_MARGIN_PERCENTS);
}
private File prepareReport() throws IOException {