wangyang0918 opened a new pull request #14268:
URL: https://github.com/apache/flink/pull/14268


   When the ZooKeeper connection is suspended, the 
`LeaderRetrievalEventHandler` will be notified with an empty leader 
information. In the failed test 
`ZooKeeperLeaderElectionConnectionHandlingTest.testConnectionSuspendedHandlingDuringInitialization`,
 we expect no leader will be notified. This is wrong. The reason why it could 
work is the timeout is set to very small(50ms) and it is too fast to get the 
leader information.
   
   This PR will fix the unstable test via correcting the expectation.


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


Reply via email to