Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race condition in hostsetup.ps1.
There was a race condition in setting up credential port forwarding in which the adapter has multiple addresses before the new ip is assigned. Allowing this race condition can cause the netsh interface portproxy setup to result in the network adapter in an unrecoverable bad state where the proxy is unable to listen on port 80 because the port is in use by a non-functional proxy rule. This race condition happened rarely before, but started becoming a problem when changes were made to let windows test run faster (aws#1886), which let TestV3TaskEndpointDefaultNetworkMode, TestV3TaskEndpointTags and TestV3TaskEndpointDefaultNetworkMode have a high failure rate because they need the credential port forwarding.
- Loading branch information