YARN-5318. Fix intermittent test failure of TestRMAdminService#testRefreshNodesResourceWithFileSystemBasedConfigurationProvider. (Jun Gong via Varun Saxena).

This commit is contained in:
Varun Saxena 2016-07-09 01:43:09 +05:30
parent 550abb53e5
commit f515678b67
1 changed files with 1 additions and 0 deletions

View File

@ -232,6 +232,7 @@ public class TestRMAdminService {
rm.adminService.refreshNodesResources(
RefreshNodesResourcesRequest.newInstance());
rm.drainEvents();
RMNode niAfter = rm.getRMContext().getRMNodes().get(nid);
Resource resourceAfter = niAfter.getTotalCapability();