tillrohrmann commented on a change in pull request #10608:
[FLINK-15300][Runtime] Fix sanity check to not fail if shuffle memory fraction
is out of min/max range
URL: https://github.com/apache/flink/pull/10608#discussion_r358905930
##########
File path:
flink-runtime/src/test/java/org/apache/flink/runtime/clusterframework/TaskExecutorResourceUtilsTest.java
##########
@@ -198,6 +198,35 @@ public void testConfigShuffleMemoryRange() {
});
}
+ @Test
+ public void testSanityCheckShuffleMemoryFractionLessThanMin() {
+ testSanityCheckShuffleMemoryFractionOutOfMinMaxRange(true);
Review comment:
I'm not a huge fan of boolean parameters. I think it would be better to
define an `enum` with values with a more descriptive name.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services