-
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local test errors #31
Comments
The progress tests are probably just doomed and need to be significantly less strict. Maybe it should be fine as long as the progress reports are strictly increasing up to the expected number of bytes. The other one seems like your host gets a different error when doing a DNS lookup of an invalid hostname. What happens if you do |
I'm in an office hotel so maybe they do some "shady" stuff:
|
Oh wow, they even intercept DNS requests to Google's 1.1.1.1 DNS server—that's extra shady! I'm not sure what we should do here: |
Here's a possibility: check first if Another option instead of skipping the test is to do the test but use the CURLOPT_DOH_URL option with a known DNS-over-HTTPS server like
|
|
Oh interesting! So that seems to work correctly. Or rather not work correctly? Fail correctly? You know what I mean. Ok, so we should probably do the following:
|
Even though the entire `.invalid` TLD is officialy invalid so no DNS server should ever resolve it to an IP address, it seems like ISPs are more likely to lie when the domain is just `invalid` than if it's `domain.invalid`, so we'll use that instead. Fixes half of #31.
Although these tests work well enough in ideal network conditions, too often, especially during CI of Julia itself, we don't get a full set of progress updates. This relaxes the test to just make sure that the progress values are non-decreasing, which is pretty weak, but it's something and at least we test the API.
These should be better now. If you're still behind the same ISP could you check if this passes locally now? |
Running the tests locally I get:
The text was updated successfully, but these errors were encountered: