Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: bypass the proxy if testing DNS override
If an explicit proxy is configured in the environment, then the request will go through it rather than actually resolving the domain. Either we're hitting the target domain on a weird port which will likely fail, or the proxy straight up denies that weird request. To work around this, we actually modify the environment variables to make sure that our target domain is in the exception list for the proxy. We're hitting this issue in the Ubuntu CI. Amazingly enough, the tests actually passed *once* there, although the exact circumstances that allowed this are still a bit of a mystery.
- Loading branch information