Github user tillrohrmann commented on the issue:

    https://github.com/apache/flink/pull/5449
  
    @zhangminglei, I think Stephan's idea was to not change any parts of the 
`ConnectionUtils`. Instead we should harden the 
`ConnectionUtilsTest#testReturnLocalHostAddressUsingHeuristics` by adding a 
`Assume.assumeFalse(InetAddress.getLocalHost().isLoopbackAddress)` and checking 
that this is also false for the returned address. Moreover, we could check 
whether we can actually bind to this address.


---

Reply via email to