zentol opened a new pull request #8388: [FLINK-12164][runtime] Harden 
JobMasterTest against timeouts
URL: https://github.com/apache/flink/pull/8388
 
 
   Hardens `JobMasterTest#testJobFailureWhenTaskExecutorHeartbeatTimeout`
   
   The reported failure occurred when offering slots, indicating that at this 
time the TM was no longer registered at the JM. However, the TM is being 
registered right before the slot offer.
   
   The only explanation I could find is that due so some freak timing thing a 
heartbeat times out in between these 2 calls. 
`testJobFailureWhenTaskExecutorHeartbeatTimeout` uses a very small heartbeat 
interval (1ms) and timeout (5ms).
   I was only able to reproduce the issue locally after reducing the timeout to 
2ms.
   
   This PR doubles the timeout to reduce the likely-hood of this happening 
again.

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to