diff options
author | Stephane Gamard <stephane.gamard@searchbox.com> | 2014-08-04 16:58:32 +0200 |
---|---|---|
committer | Stephane Gamard <stephane.gamard@searchbox.com> | 2014-08-04 17:19:23 +0200 |
commit | 9567d73a0cd3863994fc516405d96cda793225f1 (patch) | |
tree | f04b8afd5e91deb32ffb2a05da38d32656193f8e /server/sonar-server | |
parent | 9867dbce7fd3204b17a869fff7289d61e8285c6e (diff) | |
download | sonarqube-9567d73a0cd3863994fc516405d96cda793225f1.tar.gz sonarqube-9567d73a0cd3863994fc516405d96cda793225f1.zip |
Put soanr.path.home to target directory for medium tests
Diffstat (limited to 'server/sonar-server')
-rw-r--r-- | server/sonar-server/src/test/java/org/sonar/server/tester/ServerTester.java | 2 |
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(); |