GJL commented on a change in pull request #10255: [FLINK-14859][runtime] Avoid leaking unassigned slots URL: https://github.com/apache/flink/pull/10255#discussion_r348405620
########## File path: flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/DefaultSchedulerTest.java ########## @@ -295,6 +295,21 @@ public void skipDeploymentIfVertexVersionOutdated() { assertThat(scheduler.requestJob().getState(), is(equalTo(JobStatus.RUNNING))); } + @Test + public void releaseSlotIfVertexVersionOutdated() { Review comment: One could use `SystemExitTrackingSecurityManager` ---------------------------------------------------------------- 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