]> source.dussan.org Git - sonarqube.git/commitdiff
Fixed BaseIndex test
authorStephane Gamard <stephane.gamard@searchbox.com>
Thu, 14 Aug 2014 10:59:23 +0000 (12:59 +0200)
committerStephane Gamard <stephane.gamard@searchbox.com>
Thu, 14 Aug 2014 10:59:23 +0000 (12:59 +0200)
server/sonar-server/src/test/java/org/sonar/server/search/BaseIndexTest.java

index 96c2c660ab20ab51de50badd123d4b8ce93f8839..92daecaef82e1c312aa90b38fffa7133fb22e8fb 100644 (file)
@@ -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) {