facebook / wdt

Warp speed Data Transfer (WDT) is an embeddedable library (and command line tool) aiming to transfer data between 2 systems as fast as possible over multiple TCP paths.
https://www.facebook.com/WdtOpenSource
Other
2.86k stars 392 forks source link

Don't hardcode loopback as ::1 in tests #192

Open hjmallon opened 5 years ago

hjmallon commented 5 years ago

The tests have ::1 hardcoded as the loopback address. This is all well and good until you run tests in docker (without extra sysctl) or in Travis-CI Linux where ipv6 is disabled. It should probably try 127.0.0.1 if ::1 fails to cover those cases.