YARN-60: Fix minor merge conflict (bobby)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1379558 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bbfbbf31c8
commit
cde65024a2
|
@ -200,7 +200,7 @@ public class TestRMNodeTransitions {
|
|||
private RMNodeImpl getRunningNode() {
|
||||
NodeId nodeId = BuilderUtils.newNodeId("localhost", 0);
|
||||
RMNodeImpl node = new RMNodeImpl(nodeId, rmContext,null, 0, 0,
|
||||
null, null, null);
|
||||
null, null);
|
||||
node.handle(new RMNodeEvent(node.getNodeID(), RMNodeEventType.STARTED));
|
||||
Assert.assertEquals(NodeState.RUNNING, node.getState());
|
||||
return node;
|
||||
|
@ -212,7 +212,7 @@ public class TestRMNodeTransitions {
|
|||
status.setHealthReport("sick");
|
||||
status.setIsNodeHealthy(false);
|
||||
node.handle(new RMNodeStatusEvent(node.getNodeID(), status,
|
||||
new ArrayList<ContainerStatus>(), null, null, null));
|
||||
new ArrayList<ContainerStatus>(), null, null));
|
||||
Assert.assertEquals(NodeState.UNHEALTHY, node.getState());
|
||||
return node;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue