mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-01 16:39:11 +00:00
Use a dedicated cluster name for GeoDistanceSearchBenchmark (like we do for other benchmarks).
This commit is contained in:
parent
ebf6519965
commit
794a927c43
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user