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

(cherry picked from commit 10dc2c0493)
This commit is contained in:
rohithsharmaks 2016-01-24 23:36:15 +05:30
parent 280c9b8401
commit 7e66b2f22c
2 changed files with 4 additions and 0 deletions

View File

@ -94,6 +94,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 @@ public class TestClientRMService {
// Now make the node unhealthy.
node.nodeHeartbeat(false);
rm.NMwaitForState(node.getNodeId(), NodeState.UNHEALTHY);
// Call again
nodeReports = client.getClusterNodes(request).getNodeReports();