YARN-4613. Fix test failure in TestClientRMService#testGetClusterNodes. (Takashi Ohnishi via rohithsharmaks)

This commit is contained in:
rohithsharmaks 2016-01-24 23:36:15 +05:30
parent 99829eb221
commit 10dc2c0493
2 changed files with 4 additions and 0 deletions

View File

@ -152,6 +152,9 @@ Release 2.9.0 - UNRELEASED
YARN-4574. Fix random failure in TestAMRMClientOnRMRestart.
(Takashi Ohnishi via rohithsharmaks)
YARN-4613. Fix test failure in TestClientRMService#testGetClusterNodes.
(Takashi Ohnishi via rohithsharmaks)
Release 2.8.0 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -209,6 +209,7 @@ protected ClientRMService createClientRMService() {
// Now make the node unhealthy.
node.nodeHeartbeat(false);
rm.NMwaitForState(node.getNodeId(), NodeState.UNHEALTHY);
// Call again
nodeReports = client.getClusterNodes(request).getNodeReports();