]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5409 - Fixed test
authorStephane Gamard <stephane.gamard@searchbox.com>
Fri, 11 Jul 2014 09:48:47 +0000 (11:48 +0200)
committerStephane Gamard <stephane.gamard@searchbox.com>
Fri, 11 Jul 2014 09:48:47 +0000 (11:48 +0200)
server/sonar-search/src/main/java/org/sonar/search/ElasticSearch.java

index 4c528db7ed9065c25447069546675fead90e5363..ece3f384ad2a4f579923d11a698878608bafdeeb 100644 (file)
@@ -102,12 +102,11 @@ public class ElasticSearch extends org.sonar.process.Process {
 
     node = NodeBuilder.nodeBuilder()
       .settings(esSettings)
-      .build();
+      .build().start();
   }
 
   @Override
   public void onStart() {
-    node.start();
     try {
       Thread.currentThread().join();
     } catch (InterruptedException e) {