Added client_ prefix to node clients created by TestCluster (client_node_#)
This commit is contained in:
parent
74b00b63ea
commit
e5b829303e
|
@ -378,7 +378,7 @@ public class TestCluster {
|
|||
public Client nodeClient() {
|
||||
ensureOpen();
|
||||
if (clientNode == null) {
|
||||
String name = buildNodeName();
|
||||
String name = "client_" + buildNodeName();
|
||||
String settingsSource = getClass().getName().replace('.', '/') + ".yml";
|
||||
Settings finalSettings = settingsBuilder().loadFromClasspath(settingsSource).put(defaultSettings).put("node.client", true).put("name", name)
|
||||
.build();
|
||||
|
|
Loading…
Reference in New Issue