zentol opened a new pull request #12588: URL: https://github.com/apache/flink/pull/12588
The `MesosResourceManagerTest` uses mock TaskExecutorGateways that never respond to heartbeat requests. The test furthermore assumes that no heartbeat ever times out. If a heartbeat times out, right before we send the slot report for one of the mock task executors, then we can run into the reported NPE. This PR addresses the problem by increasing the heartbeat interval/timeout to Integer.MAX_VALUE. Note that there are a variety of other issues in this test, like the excessive use of mocking, or directly calling methods of the ResourceManager. ---------------------------------------------------------------- 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: [email protected]
