aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-search/src/test
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2014-07-23 14:42:58 +0200
committerStephane Gamard <stephane.gamard@searchbox.com>2014-07-23 15:34:08 +0200
commit9c29050c2d83a4cf28bda17c9ba08c420338d4e6 (patch)
tree54f29e122cbb080698f7dd65148876df72930b1c /server/sonar-search/src/test
parent5932476ce437e867b0d295c9ebd522219d76b924 (diff)
downloadsonarqube-9c29050c2d83a4cf28bda17c9ba08c420338d4e6.tar.gz
sonarqube-9c29050c2d83a4cf28bda17c9ba08c420338d4e6.zip
SONAR-4898 improve management of sonar.path.* properties
Diffstat (limited to 'server/sonar-search/src/test')
-rw-r--r--server/sonar-search/src/test/java/org/sonar/search/ElasticSearchTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sonar-search/src/test/java/org/sonar/search/ElasticSearchTest.java b/server/sonar-search/src/test/java/org/sonar/search/ElasticSearchTest.java
index 62950bee734..2eedf391b80 100644
--- a/server/sonar-search/src/test/java/org/sonar/search/ElasticSearchTest.java
+++ b/server/sonar-search/src/test/java/org/sonar/search/ElasticSearchTest.java
@@ -85,6 +85,7 @@ public class ElasticSearchTest {
properties.setProperty(Process.NAME_PROPERTY, "ES");
properties.setProperty("sonar.path.data", tempDirectory.getAbsolutePath());
properties.setProperty(ElasticSearch.ES_PORT_PROPERTY, Integer.toString(freeESPort));
+ properties.setProperty(ElasticSearch.ES_CLUSTER_PROPERTY, "sonarqube");
elasticSearch = new ElasticSearch(new Props(properties));
new Thread(new Runnable() {