Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-4052

Unstable test ConnectionUtilsTest

    XMLWordPrintableJSON

Details

    Description

      The error is the following:

      ConnectionUtilsTest.testReturnLocalHostAddressUsingHeuristics:59 expected:<testing-worker-linux-docker-e744e561-3361-linux-13/172.17.5.9> but was:</127.0.0.1>
      

      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.

      Attachments

        Issue Links

          Activity

            People

              sewen Stephan Ewen
              sewen Stephan Ewen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: