[TEST] fix TermsAggregationSearchBenchmark

This commit is contained in:
Simon Willnauer 2015-06-18 15:06:49 +02:00
parent 5808102d19
commit 30cc984565
1 changed files with 3 additions and 1 deletions

View File

@ -112,13 +112,15 @@ public class TermsAggregationSearchBenchmark {
nodes = new Node[1];
for (int i = 0; i < nodes.length; i++) {
nodes[i] = nodeBuilder().clusterName(clusterName)
.settings(settingsBuilder().put(settings).put("path.home", "."))
.settings(settingsBuilder().put(settings).put("name", "node" + i))
.node();
}
Node clientNode = nodeBuilder()
.clusterName(clusterName)
.settings(settingsBuilder().put(settings).put("name", "client")).client(true).node();
.settings(settingsBuilder().put(settings).put("name", "client"))
.settings(settingsBuilder().put(settings).put("path.home", ".")).client(true).node();
client = clientNode.client();