Remove DiscoveryNode#id in favour of existing DiscoveryNode#getId

Original commit: elastic/x-pack-elasticsearch@a498f45e4a
This commit is contained in:
javanna 2016-03-30 14:43:03 +02:00 committed by Luca Cavanna
parent c8ea0758e9
commit 7689141909
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ public class NodeStatsCollectorTests extends AbstractCollectorTestCase {
assertThat(nodeStatsMarvelDoc.getSourceNode(), notNullValue());
assertThat(nodeStatsMarvelDoc.getNodeId(),
equalTo(internalCluster().getInstance(ClusterService.class, node).localNode().id()));
equalTo(internalCluster().getInstance(ClusterService.class, node).localNode().getId()));
assertThat(nodeStatsMarvelDoc.isNodeMaster(), equalTo(node.equals(internalCluster().getMasterName())));
assertThat(nodeStatsMarvelDoc.isMlockall(), equalTo(BootstrapInfo.isMemoryLocked()));
assertNotNull(nodeStatsMarvelDoc.isDiskThresholdDeciderEnabled());