GitHub user tillrohrmann opened a pull request:

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

    [FLINK-2694] [test-stability] Hardens the 
JobManagerProcessReapingTest.testReapProcessOnFailure test case

    The `JobManagerProcessReapingTest.testReapProcessOnFailure` predetermines 
the port for the `JobManager` which is started by using 
`NetUtils.getAvailablePort`. This can cause problems if in the meantime another 
process has opened a socket binding to this port. In order to harden this test 
case, the `JobManager` is now allowed to pick itself a free port. The selected 
port is extracted from the logging output of the `JobManager`.

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

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

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

    https://github.com/apache/flink/pull/1145.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 #1145
    
----
commit 4332b8e8aafd43f766be5357e505297322d109c7
Author: Till Rohrmann <[email protected]>
Date:   2015-09-18T13:49:24Z

    [FLINK-2694] [test-stability] Hardens the 
JobManagerProcessReapingTest.testReapProcessOnFailure test case by letting the 
JobManager choose its port instead of predetermining it via the 
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