YARN-4613. Fix test failure in TestClientRMService#testGetClusterNodes. (Takashi Ohnishi via rohithsharmaks)
(cherry picked from commit 10dc2c0493
)
This commit is contained in:
parent
280c9b8401
commit
7e66b2f22c
|
@ -94,6 +94,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