You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stefan Richter (JIRA)" <ji...@apache.org> on 2018/10/16 15:33:00 UTC

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

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

Stefan Richter closed FLINK-4052.
---------------------------------
    Resolution: Fixed

Merged in:
master: f195a6ed5c

> 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, 1.3.0
>            Reporter: Stephan Ewen
>            Assignee: Stephan Ewen
>            Priority: Critical
>              Labels: pull-request-available, test-stability
>             Fix For: 1.7.0, 1.6.2, 1.5.5
>
>
> 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
(v7.6.3#76005)