GitHub user tillrohrmann opened a pull request:
https://github.com/apache/flink/pull/3853
[FLINK-6509] [tests] Perform TestingListener#waitForNewLeader under lock
Performin TestingListener#waitForNewLeader under the lock which is also
hold when
updating the leader information makes sure that leader changes won't go
unnoticed.
This led before to failing test cases due to timeouts.
cc @StefanRRichter.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tillrohrmann/flink fixTestingListener
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/3853.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3853
----
commit 2e36adb971d20892e179a4980ee1fc2ec2133e7b
Author: Till Rohrmann <[email protected]>
Date: 2017-05-09T11:13:02Z
[FLINK-6509] [tests] Perform TestingListener#waitForNewLeader under lock
Performin TestingListener#waitForNewLeader under the lock which is also
hold when
updating the leader information makes sure that leader changes won't go
unnoticed.
This led before to failing test cases due to timeouts.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---