]> source.dussan.org Git - sonarqube.git/commitdiff
fix perf IT after DuplicationRepository perf improvment
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Fri, 18 Dec 2015 17:03:17 +0000 (18:03 +0100)
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Fri, 18 Dec 2015 17:03:17 +0000 (18:03 +0100)
server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/PersistFileSourcesStepTest.java

index 8cfa29b82748724f9f1fd0d889a62affbc049b9e..ab033c510bf18aaf78bfc117c3b9716f7fae6d8b 100644 (file)
@@ -106,7 +106,7 @@ public class PersistFileSourcesStepTest {
     assertThat(dbTester.countRowsOfTable("file_sources")).isEqualTo(NUMBER_OF_FILES);
     LOGGER.info(String.format("File sources have been persisted in %d ms", duration));
 
-    benchmark.expectAround("Duration to persist FILE_SOURCES", duration, 109000, Benchmark.DEFAULT_ERROR_MARGIN_PERCENTS);
+    benchmark.expectAround("Duration to persist FILE_SOURCES", duration, 93700, Benchmark.DEFAULT_ERROR_MARGIN_PERCENTS);
   }
 
   private File prepareReport() throws IOException {