Commit 75b83003 authored by Lorenzo Colitti's avatar Lorenzo Colitti
Browse files

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
parent fc84fb63
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment