Fix settings for TribeUnitTests.

This commit is contained in:
Adrien Grand 2015-12-11 20:00:38 +01:00
parent 003e19b5fb
commit 0f51d81410
1 changed files with 2 additions and 2 deletions

View File

@ -62,14 +62,14 @@ public class TribeUnitTests extends ESTestCase {
Settings.builder() Settings.builder()
.put(baseSettings) .put(baseSettings)
.put("cluster.name", "tribe1") .put("cluster.name", "tribe1")
.put("node.name", "tribe1_node") .put("name", "tribe1_node")
.put(DiscoveryService.SETTING_DISCOVERY_SEED, random().nextLong()) .put(DiscoveryService.SETTING_DISCOVERY_SEED, random().nextLong())
.build()).start(); .build()).start();
tribe2 = new TribeClientNode( tribe2 = new TribeClientNode(
Settings.builder() Settings.builder()
.put(baseSettings) .put(baseSettings)
.put("cluster.name", "tribe2") .put("cluster.name", "tribe2")
.put("node.name", "tribe2_node") .put("name", "tribe2_node")
.put(DiscoveryService.SETTING_DISCOVERY_SEED, random().nextLong()) .put(DiscoveryService.SETTING_DISCOVERY_SEED, random().nextLong())
.build()).start(); .build()).start();
} }