diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-09-15 11:49:41 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-09-15 11:49:41 +0200 |
commit | 32dcee49dc835eaeb9345c6558198f33f5d9efc7 (patch) | |
tree | 769573f54754f18068cf7a375b9e402b3306916a /server/sonar-server-benchmarks/src | |
parent | 6b374d017959b404355bfb5f18b45b2cac581a11 (diff) | |
download | sonarqube-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.java | 2 |
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 { |