K0K0V0K commented on code in PR #3618:
URL: https://github.com/apache/hadoop/pull/3618#discussion_r1200293092
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/TestLeafQueue.java:
##########
@@ -703,6 +719,10 @@ public void testSingleQueueWithOneUser() throws Exception {
when(csContext.getNumClusterNodes()).thenReturn(numNodes);
root.updateClusterResource(clusterResource,
new ResourceLimits(clusterResource));
+ CapacitySchedulerQueueCapacityHandler queueController =
+ new
CapacitySchedulerQueueCapacityHandler(rmContext.getNodeLabelManager());
+ queueController.updateRoot(root, clusterResource);
+ updateChildren(queueController, clusterResource, root);
Review Comment:
i created an updateRootQueue method in CapacitySchedulerTestUtilities
--
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]