YARN-4613. Fix test failure in TestClientRMService#testGetClusterNodes. (Takashi Ohnishi via rohithsharmaks)
This commit is contained in:
parent
99829eb221
commit
10dc2c0493
|
@ -152,6 +152,9 @@ Release 2.9.0 - UNRELEASED
|
||||||
YARN-4574. Fix random failure in TestAMRMClientOnRMRestart.
|
YARN-4574. Fix random failure in TestAMRMClientOnRMRestart.
|
||||||
(Takashi Ohnishi via rohithsharmaks)
|
(Takashi Ohnishi via rohithsharmaks)
|
||||||
|
|
||||||
|
YARN-4613. Fix test failure in TestClientRMService#testGetClusterNodes.
|
||||||
|
(Takashi Ohnishi via rohithsharmaks)
|
||||||
|
|
||||||
Release 2.8.0 - UNRELEASED
|
Release 2.8.0 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -209,6 +209,7 @@ public class TestClientRMService {
|
||||||
|
|
||||||
// Now make the node unhealthy.
|
// Now make the node unhealthy.
|
||||||
node.nodeHeartbeat(false);
|
node.nodeHeartbeat(false);
|
||||||
|
rm.NMwaitForState(node.getNodeId(), NodeState.UNHEALTHY);
|
||||||
|
|
||||||
// Call again
|
// Call again
|
||||||
nodeReports = client.getClusterNodes(request).getNodeReports();
|
nodeReports = client.getClusterNodes(request).getNodeReports();
|
||||||
|
|
Loading…
Reference in New Issue