From 794a927c43711d1ce489c16ca3624d0bdbde2e3d Mon Sep 17 00:00:00 2001 From: Adrien Grand Date: Tue, 10 Dec 2013 14:42:14 +0100 Subject: [PATCH] Use a dedicated cluster name for GeoDistanceSearchBenchmark (like we do for other benchmarks). --- .../benchmark/search/geo/GeoDistanceSearchBenchmark.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/elasticsearch/benchmark/search/geo/GeoDistanceSearchBenchmark.java b/src/test/java/org/elasticsearch/benchmark/search/geo/GeoDistanceSearchBenchmark.java index 5d8c26c5e6a..eab7d34524a 100644 --- a/src/test/java/org/elasticsearch/benchmark/search/geo/GeoDistanceSearchBenchmark.java +++ b/src/test/java/org/elasticsearch/benchmark/search/geo/GeoDistanceSearchBenchmark.java @@ -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();