]> source.dussan.org Git - sonarqube.git/commitdiff
Put soanr.path.home to target directory for medium tests
authorStephane Gamard <stephane.gamard@searchbox.com>
Mon, 4 Aug 2014 14:58:32 +0000 (16:58 +0200)
committerStephane Gamard <stephane.gamard@searchbox.com>
Mon, 4 Aug 2014 15:19:23 +0000 (17:19 +0200)
server/sonar-server/src/test/java/org/sonar/server/tester/ServerTester.java

index 480382fae23e698351dab473609016fa96284b92..f1b757731445c47303066acc72ba89bf8f195dda 100644 (file)
@@ -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();