From c421fa7ad3f4c04bead1bd60ab7cb020038a8d15 Mon Sep 17 00:00:00 2001 From: Stephane Gamard Date: Thu, 14 Aug 2014 12:39:16 +0200 Subject: [PATCH] added properties for SearchServer in ServerTester for mediumTests --- .../src/test/java/org/sonar/server/tester/ServerTester.java | 4 +--- 1 file changed, 1 insertion(+), 3 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 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) { -- 2.39.5