hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From varunsax...@apache.org
Subject hadoop git commit: YARN-5318. Fix intermittent test failure of TestRMAdminService#testRefreshNodesResourceWithFileSystemBasedConfigurationProvider. (Jun Gong via Varun Saxena).
Date Fri, 08 Jul 2016 20:24:57 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2.8 8645e4ac3 -> 845daee46


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


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/845daee4
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/845daee4
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/845daee4

Branch: refs/heads/branch-2.8
Commit: 845daee4632517730fbbeec08adf0e87801ceda8
Parents: 8645e4a
Author: Varun Saxena <varunsaxena@apache.org>
Authored: Sat Jul 9 01:54:22 2016 +0530
Committer: Varun Saxena <varunsaxena@apache.org>
Committed: Sat Jul 9 01:54:22 2016 +0530

----------------------------------------------------------------------
 .../hadoop/yarn/server/resourcemanager/TestRMAdminService.java      | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/845daee4/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRMAdminService.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRMAdminService.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRMAdminService.java
index 9eaf431..48ed7df 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRMAdminService.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRMAdminService.java
@@ -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();


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message