symious commented on a change in pull request #3613:
URL: https://github.com/apache/hadoop/pull/3613#discussion_r742656752
##########
File path:
hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/fairness/TestRouterHandlersFairness.java
##########
@@ -208,4 +212,15 @@ private void invokeConcurrent(ClientProtocol routerProto,
String clientName)
routerProto.renewLease(clientName);
}
+ private int getTotalRejectedPermits(RouterContext routerContext) {
+ int totalRejectedPermits = 0;
+ for (String ns : cluster.getNameservices()) {
+ totalRejectedPermits += routerContext.getRouter().getRpcServer()
Review comment:
Updated.
--
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]