From 9fe497383a8340a33c107ea4285aeb289ee9d11b Mon Sep 17 00:00:00 2001 From: Stephane Gamard Date: Thu, 14 Aug 2014 12:59:23 +0200 Subject: [PATCH] Fixed BaseIndex test --- .../src/test/java/org/sonar/server/search/BaseIndexTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/server/sonar-server/src/test/java/org/sonar/server/search/BaseIndexTest.java b/server/sonar-server/src/test/java/org/sonar/server/search/BaseIndexTest.java index 96c2c660ab2..92daecaef82 100644 --- a/server/sonar-server/src/test/java/org/sonar/server/search/BaseIndexTest.java +++ b/server/sonar-server/src/test/java/org/sonar/server/search/BaseIndexTest.java @@ -63,9 +63,7 @@ public class BaseIndexTest { properties.setProperty(IndexProperties.CLUSTER_NAME, clusterName); properties.setProperty(IndexProperties.NODE_PORT, clusterPort.toString()); properties.setProperty(MonitoredProcess.NAME_PROPERTY, "ES"); - properties.setProperty("sonar.path.data", temp.getRoot().getAbsolutePath()); - properties.setProperty("sonar.path.logs", temp.getRoot().getAbsolutePath()); - properties.setProperty("sonar.path.temp", temp.getRoot().getAbsolutePath()); + properties.setProperty(SearchServer.SONAR_PATH_HOME, temp.getRoot().getAbsolutePath()); try { searchServer = new SearchServer(new Props(properties), false, false); } catch (Exception e) { -- 2.39.5