Skip to content

Commit

Permalink
Use a dedicated cluster name for GeoDistanceSearchBenchmark (like we …
Browse files Browse the repository at this point in the history
…do for other benchmarks).
  • Loading branch information
jpountz committed Dec 10, 2013
1 parent bc09553 commit 666e3d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 666e3d1

Please sign in to comment.