xintongsong commented on a change in pull request #11323: URL: https://github.com/apache/flink/pull/11323#discussion_r412654890
########## File path: flink-kubernetes/src/main/java/org/apache/flink/kubernetes/KubernetesResourceManager.java ########## @@ -311,7 +322,9 @@ protected double getCpuCores(Configuration configuration) { return TaskExecutorProcessUtils.getCpuCoresWithFallbackConfigOption(configuration, KubernetesConfigOptions.TASK_MANAGER_CPU); } - private void internalStopPod(String podName) { + private Optional<WorkerResourceSpec> internalStopPod(String podName) { Review comment: Could you explain what behaviors do you suggest to verify for this method? I think this is a private internal method. The code paths invoking this method should be already covered by `testStartAndStopWorker` and `testTaskManagerPodTerminated`. ---------------------------------------------------------------- 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