YARN-2649. Fixed TestAMRMRPCNodeUpdates test failure. Contributed by Ming Ma