aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephane Gamard <stephane.gamard@searchbox.com>2014-08-04 16:58:32 +0200
committerStephane Gamard <stephane.gamard@searchbox.com>2014-08-04 17:19:23 +0200
commit9567d73a0cd3863994fc516405d96cda793225f1 (patch)
treef04b8afd5e91deb32ffb2a05da38d32656193f8e
parent9867dbce7fd3204b17a869fff7289d61e8285c6e (diff)
downloadsonarqube-9567d73a0cd3863994fc516405d96cda793225f1.tar.gz
sonarqube-9567d73a0cd3863994fc516405d96cda793225f1.zip
Put soanr.path.home to target directory for medium tests
-rw-r--r--server/sonar-server/src/test/java/org/sonar/server/tester/ServerTester.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-server/src/test/java/org/sonar/server/tester/ServerTester.java b/server/sonar-server/src/test/java/org/sonar/server/tester/ServerTester.java
index 480382fae23..f1b75773144 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/tester/ServerTester.java
+++ b/server/sonar-server/src/test/java/org/sonar/server/tester/ServerTester.java
@@ -75,7 +75,7 @@ public class ServerTester extends ExternalResource {
Properties properties = new Properties();
properties.putAll(initialProps);
properties.setProperty(IndexProperties.TYPE, IndexProperties.ES_TYPE.MEMORY.name());
- properties.setProperty("sonar.path.home", homeDir.getAbsolutePath());
+ properties.setProperty("sonar.path.home", homeDir.getAbsolutePath() + "/target");
properties.setProperty(DatabaseProperties.PROP_URL, "jdbc:h2:" + homeDir.getAbsolutePath() + "/h2");
for (Map.Entry<Object, Object> entry : System.getProperties().entrySet()) {
String key = entry.getKey().toString();