goiri commented on code in PR #5496:
URL: https://github.com/apache/hadoop/pull/5496#discussion_r1148220112
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/test/java/org/apache/hadoop/yarn/server/router/rmadmin/TestableFederationRMAdminInterceptor.java:
##########
@@ -66,6 +67,11 @@ protected ResourceManagerAdministrationProtocol
getAdminRMProxyForSubCluster(
}
mockRM.init(config);
mockRM.start();
+ try {
+ mockRM.registerNode("127.0.0.1:1", 102400, 100);
+ } catch (Exception e) {
+ Assert.fail(e.getMessage());
Review Comment:
Do we get much by doing this? letting the exception surface would be ok.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]