aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-server-benchmarks
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2016-02-02 09:44:19 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2016-02-02 09:44:19 +0100
commitd12f2e96085ec80308239f0777c0b0af80ec210e (patch)
tree52eec03330ed8b3b65e0b9fdfd1d05308866eb1a /server/sonar-server-benchmarks
parent00b76c8a744d42460034005e725ea2f0dfeb33fe (diff)
downloadsonarqube-d12f2e96085ec80308239f0777c0b0af80ec210e.tar.gz
sonarqube-d12f2e96085ec80308239f0777c0b0af80ec210e.zip
SONAR-7257 Fix expected time to persist sources
Diffstat (limited to 'server/sonar-server-benchmarks')
-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 636d3bf8d38..e36f1033a2c 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
@@ -105,7 +105,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, 93700, Benchmark.DEFAULT_ERROR_MARGIN_PERCENTS);
+ benchmark.expectAround("Duration to persist FILE_SOURCES", duration, 40000L, Benchmark.DEFAULT_ERROR_MARGIN_PERCENTS);
}
private File prepareReport() throws IOException {