aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2013-07-15 15:04:06 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2013-07-15 15:04:06 +0200
commit2e45907d4434e7369289c9cde3cbabea311bbde0 (patch)
tree8e8bdd3484b8b1dd693672a26ddc30c7b9bab72b
parent31ebbfb9cef7a3259f99593d0be53474841cb42b (diff)
downloadsonarqube-2e45907d4434e7369289c9cde3cbabea311bbde0.tar.gz
sonarqube-2e45907d4434e7369289c9cde3cbabea311bbde0.zip
SONAR-4488 Make sonar.dryRun.readTimeout property take seconds as input
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/bootstrap/DryRunDatabase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/DryRunDatabase.java b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/DryRunDatabase.java
index 9be2c5301a2..4eca672f807 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/DryRunDatabase.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/DryRunDatabase.java
@@ -99,7 +99,7 @@ public class DryRunDatabase implements BatchComponent {
if (rootCause instanceof SocketTimeoutException) {
// Pico will unwrap the first runtime exception
throw new SonarException(new SonarException(String.format("DryRun database read timed out after %s ms. You can try to increase read timeout with property -D"
- + CoreProperties.DRY_RUN_READ_TIMEOUT_SEC + "(in seconds)",
+ + CoreProperties.DRY_RUN_READ_TIMEOUT_SEC + " (in seconds)",
readTimeout), e));
}
if (projectKey != null && (rootCause instanceof HttpException) && (((HttpException) rootCause).getResponseCode() == 401)) {