Retry until EmbeddedTestServer is listening on a valid port.
The net stack will not send HTTP requests to a specific set of blacklisted ports, but the OS may assign one of those ports to the EmbeddedTestServer. This was causing spurious net_unittests failures on iOS when it happened. This CL modifies the EmbeddedTestServer to retry until it is assigned a non-blacklisted port. BUG=607630 Review-Url: https://codereview.chromium.org/2562893002 Cr-Commit-Position: refs/heads/master@{#437602}
Showing
Please register or sign in to comment