Remove DiscoveryNode#id in favour of existing DiscoveryNode#getId
Original commit: elastic/x-pack-elasticsearch@a498f45e4a
This commit is contained in:
parent
c8ea0758e9
commit
7689141909
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue