GitHub user tillrohrmann opened a pull request:
https://github.com/apache/flink/pull/2998
[FLINK-5330] [tests] Harden KafkaConsumer08Test to fail reliably with
unknown host exception
Using static mocking to reliably fail the InetAddress.getByName call with
an UnknowHostException.
Furthermore, the PR decreases the connection timeouts which speeds the test
execution up.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tillrohrmann/flink fixKafkaConsumer08Test
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2998.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 #2998
commit e91b4593122ec223dbd3c2140ba7e82d2282bc1d
Author: Till Rohrmann
Date: 2016-12-13T14:48:06Z
[FLINK-5330] [tests] Harden KafkaConsumer08Test to fail reliably with
unknown host exception
Using static mocking to reliably fail the InetAddress.getByName call with
an UnknowHostException.
Furthermore, the PR decreases the connection timeouts which speeds the test
execution up.
---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---