metaswirl commented on pull request #18169: URL: https://github.com/apache/flink/pull/18169#issuecomment-1014267066
> Thanks for updating this PR @metaswirl. Concerning the test I was more thinking about a test where we kill a TM process via `SIGTERM` and check that it shuts down (e.g. deregisters from a `JM`). So this is not so much about the whole YARN thing, but about the shutdown hook itself, correct? To test this, we would need to (a) catch the message to the JobManager, (b) replace the JobManager by a mock or (c) access the JobManager's state via the REST interface. This should be doable. I will have to look, if there are already tests for this. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
