YARN-1928. Fixed a race condition in TestAMRMRPCNodeUpdates which caused it to fail occassionally. Contributed by Zhijie Shen. svn merge --ignore-ancestry -c 1587114 ../../trunk/