xintongsong commented on a change in pull request #11615: [FLINK-16605] Add max limitation to the total number of slots URL: https://github.com/apache/flink/pull/11615#discussion_r407408525
########## File path: flink-runtime/src/test/java/org/apache/flink/runtime/resourcemanager/slotmanager/SlotManagerImplTest.java ########## @@ -1540,6 +1555,85 @@ public void testSpreadOutSlotAllocationStrategy() throws Exception { } } + /** + * Test that the slot manager respect the max limitation of the number of slots when allocate new resource. + */ + @Test + public void testRespectMaxLimitBeforeAllocateResource() throws Exception { Review comment: ```suggestion public void testMaxSlotLimitAllocateResource() throws Exception { ``` ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services