Don't assume we can bind to a random port.
Instead, let the kernel choose a free port for us and use getsockname to find out what it is. This should help avoid flakiness caused by EADDRINUSE. Change-Id: Ic5d8e3e24ea6e975fb9217291e9c8b758603f96c
Loading
Please sign in to comment