From: Stephane Gamard Date: Thu, 14 Aug 2014 10:39:16 +0000 (+0200) Subject: added properties for SearchServer in ServerTester for mediumTests X-Git-Tag: 4.5-RC1~156 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c421fa7ad3f4c04bead1bd60ab7cb020038a8d15;p=sonarqube.git added properties for SearchServer in ServerTester for mediumTests --- 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 c1e94158024..ce6fad22f77 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 @@ -72,9 +72,7 @@ public class ServerTester extends ExternalResource { properties.setProperty(IndexProperties.CLUSTER_NAME, clusterName); properties.setProperty(IndexProperties.NODE_PORT, clusterPort.toString()); properties.setProperty(MonitoredProcess.NAME_PROPERTY, "ES"); - properties.setProperty("sonar.path.data", new File(homeDir, "data/es").getAbsolutePath()); - properties.setProperty("sonar.path.logs", new File(homeDir, "logs").getAbsolutePath()); - properties.setProperty("sonar.path.temp", new File(homeDir, "temp").getAbsolutePath()); + properties.setProperty(SearchServer.SONAR_PATH_HOME, homeDir.getAbsolutePath()); try { searchServer = new SearchServer(new Props(properties), false, false); } catch (Exception e) {