devmadhuu commented on code in PR #11322:
URL: https://github.com/apache/ozone/pull/11322#discussion_r4197526625
##########
hadoop-hdds/container-service/src/test/java/org/apache/hadoop/ozone/container/diskbalancer/TestDefaultContainerChoosingPolicy.java:
##########
@@ -452,6 +459,79 @@ public void testChooseVolumesSkipsZeroCapacityVolume()
throws IOException {
assertNull(result);
}
+ /**
+ * With volumes of two StorageTypes, the chosen pair comes from a single
type. Here the SSD volumes
+ * have the widest utilization spread, so SSD is balanced first.
+ */
Review Comment:
Good catch. Yes, this test passes for all spread and this happening because
of 1st scheduling comment.
--
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]