Use a dedicated cluster name for GeoDistanceSearchBenchmark (like we do for other benchmarks).

This commit is contained in:
Adrien Grand 2013-12-10 14:42:14 +01:00
parent ebf6519965
commit 794a927c43
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ public class GeoDistanceSearchBenchmark {
public static void main(String[] args) throws Exception {
Node node = NodeBuilder.nodeBuilder().node();
Node node = NodeBuilder.nodeBuilder().clusterName(GeoDistanceSearchBenchmark.class.getSimpleName()).node();
Client client = node.client();
ClusterHealthResponse clusterHealthResponse = client.admin().cluster().prepareHealth().setWaitForGreenStatus().execute().actionGet();