You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2016/06/09 22:30:21 UTC

[jira] [Resolved] (FLINK-4052) Unstable test ConnectionUtilsTest

     [ https://issues.apache.org/jira/browse/FLINK-4052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephan Ewen resolved FLINK-4052.
---------------------------------
    Resolution: Fixed

Fixed via 8696e799faf18027cd9f2479b24520cdcbca8bdb

  - Apache Git: https://git-wip-us.apache.org/repos/asf?p=flink.git;a=commitdiff;h=8696e799faf18027cd9f2479b24520cdcbca8bdb

  - GitHub: https://github.com/apache/flink/commit/8696e799faf18027cd9f2479b24520cdcbca8bdb

> Unstable test ConnectionUtilsTest
> ---------------------------------
>
>                 Key: FLINK-4052
>                 URL: https://issues.apache.org/jira/browse/FLINK-4052
>             Project: Flink
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.0.2
>            Reporter: Stephan Ewen
>            Assignee: Stephan Ewen
>            Priority: Critical
>              Labels: test-stability
>             Fix For: 1.1.0
>
>
> The error is the following:
> {code}
> ConnectionUtilsTest.testReturnLocalHostAddressUsingHeuristics:59 expected:<testing-worker-linux-docker-e744e561-3361-linux-13/172.17.5.9> but was:</127.0.0.1>
> {code}
> The probable cause for the failure is that the test tries to select an unused closed port (from the ephemeral range), and then assumes that all connections to that port fail.
> If a concurrent test actually uses that port, connections to the port will succeed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)