diff options
author | Stephane Gamard <stephane.gamard@searchbox.com> | 2014-08-05 15:46:08 +0200 |
---|---|---|
committer | Stephane Gamard <stephane.gamard@searchbox.com> | 2014-08-06 09:10:26 +0200 |
commit | aace04438571a00f9d95de6636d5ea17b4ca26e1 (patch) | |
tree | 24b36147858e375cf665d741234407474ac61d6d /server/sonar-search/src/test | |
parent | 6fda70f66f0e3b20ef8dc7ff3129dd4dde21f73d (diff) | |
download | sonarqube-aace04438571a00f9d95de6636d5ea17b4ca26e1.tar.gz sonarqube-aace04438571a00f9d95de6636d5ea17b4ca26e1.zip |
SONAR-5483 - Fixed SearchServerTest (missing property)
Diffstat (limited to 'server/sonar-search/src/test')
-rw-r--r-- | server/sonar-search/src/test/java/org/sonar/search/SearchServerTest.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/server/sonar-search/src/test/java/org/sonar/search/SearchServerTest.java b/server/sonar-search/src/test/java/org/sonar/search/SearchServerTest.java index a97c51a9c62..da1e1e9a7f2 100644 --- a/server/sonar-search/src/test/java/org/sonar/search/SearchServerTest.java +++ b/server/sonar-search/src/test/java/org/sonar/search/SearchServerTest.java @@ -35,7 +35,6 @@ import org.sonar.process.Props; import javax.management.InstanceNotFoundException; import javax.management.MBeanRegistrationException; import javax.management.MBeanServer; - import java.io.File; import java.io.IOException; import java.lang.management.ManagementFactory; @@ -83,8 +82,7 @@ public class SearchServerTest { public void can_connect() throws Exception { Properties properties = new Properties(); properties.setProperty(MonitoredProcess.NAME_PROPERTY, "ES"); - properties.setProperty("sonar.path.data", tempDirectory.getAbsolutePath()); - properties.setProperty("sonar.path.logs", tempDirectory.getAbsolutePath()); + properties.setProperty("sonar.path.home", tempDirectory.getAbsolutePath()); properties.setProperty(SearchServer.ES_PORT_PROPERTY, Integer.toString(freeESPort)); properties.setProperty(SearchServer.ES_CLUSTER_PROPERTY, "sonarqube"); |