You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by tillrohrmann <gi...@git.apache.org> on 2016/06/15 09:43:09 UTC

[GitHub] flink pull request #2103: [FLINK-2733] Harden ZooKeeperLeaderElectionTest

GitHub user tillrohrmann opened a pull request:

    https://github.com/apache/flink/pull/2103

    [FLINK-2733] Harden ZooKeeperLeaderElectionTest

    Hardens ZooKeeperElectionTest by allowing the testing listener to return
    out-dated leader information. This can happen if the ZooKeeper connection
    was suspended and the new leader information has not been sent to the
    testing listener. In this case, the testing listener will be queried again
    to return the actual leader information.
    
    Add debug statements to ZooKeeperLeaderElectionTest.testZooKeeperReelection

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tillrohrmann/flink fixZooKeeperLeaderElectionTest

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/2103.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 #2103
    
----
commit 37127ed6ad198d010c81b4c725c2dd14a8b11872
Author: Till Rohrmann <tr...@apache.org>
Date:   2016-06-06T15:18:59Z

    [FLINK-2733] [tests] Harden ZooKeeperLeaderElectionTest
    
    Hardens ZooKeeperElectionTest by allowing the testing listener to return
    out-dated leader information. This can happen if the ZooKeeper connection
    was suspended and the new leader information has not been sent to the
    testing listener. In this case, the testing listener will be queried again
    to return the actual leader information.
    
    Add debug statements to ZooKeeperLeaderElectionTest.testZooKeeperReelection

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] flink issue #2103: [FLINK-2733] Harden ZooKeeperLeaderElectionTest

Posted by tillrohrmann <gi...@git.apache.org>.
Github user tillrohrmann commented on the issue:

    https://github.com/apache/flink/pull/2103
  
    Ran 10 Travis builds and couldn't reproduce the ZooKeeperLeaderElectionTest failure. Thus, I assume that this PR fixes/hardens the test case. Will merge it now.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] flink pull request #2103: [FLINK-2733] Harden ZooKeeperLeaderElectionTest

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/flink/pull/2103


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---