KarmaGYZ commented on a change in pull request #11615: URL: https://github.com/apache/flink/pull/11615#discussion_r415195008
########## File path: flink-runtime/src/test/java/org/apache/flink/runtime/resourcemanager/slotmanager/SlotManagerImplTest.java ########## @@ -1301,13 +1305,14 @@ private SlotRequest createSlotRequest(JobID jobId, ResourceProfile resourceProfi } private SlotManagerImpl createSlotManager(ResourceManagerId resourceManagerId, ResourceActions resourceManagerActions) { - return createSlotManager(resourceManagerId, resourceManagerActions, 1); + return createSlotManager(resourceManagerId, resourceManagerActions, new Configuration()); } - private SlotManagerImpl createSlotManager(ResourceManagerId resourceManagerId, ResourceActions resourceManagerActions, int numSlotsPerWorker) { + private SlotManagerImpl createSlotManager(ResourceManagerId resourceManagerId, ResourceActions resourceManagerActions, Configuration configuration) { Review comment: However, to avoid code duplication, it seems that we still need these two `createSlotManager`, right? ---------------------------------------------------------------- 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