GitHub user tillrohrmann opened a pull request:

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

    [FLINK-2696] [test-stability] Hardens 
ZookeeperOffsetHandlerTest.runOffsetManipulationinZooKeeperTest

    The test case 
`ZookeeperOffsetHandlerTest.runOffsetManipulationinZooKeeperTest` failed, 
because the ZooKeeper client could not connect to the ZooKeeper server. I 
suspect that this might be caused by contention of multiple test cases for the 
same port to bind to. Internally, Curator's `TestingServer` is started with a 
port which has been determined using `NetUtils.getAvailablePort`. Since the 
port is not directly bound, it is possible that another process uses the 
determined port and, thus, preventing the `TestingServer` from starting. 

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

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

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

    https://github.com/apache/flink/pull/1144.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 #1144
    
----
commit 5889624ab6d345ced0be59bb71ca3dc3c84de0e1
Author: Till Rohrmann <[email protected]>
Date:   2015-09-18T12:28:56Z

    [FLINK-2696] [test-stability] Hardens ZookeeperOffsetHandlerTest by letting 
Curator's TestingServer select the port to bind to instead of using 
NetUtils.getAvailablePort.

----


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

Reply via email to