Skip to content
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

Improve download tests #3346

Merged
merged 3 commits into from
Feb 4, 2021
Merged

Conversation

pmeier
Copy link
Collaborator

@pmeier pmeier commented Feb 3, 2021

Follow up from #3338.

In addition to the comments from @datumbox, I've added checks if the original request is redirected to some other server. In that case the test issues as warning. There are quite a few redirects, so it might be feasible to update the URLs in the datasets.

Copy link
Member

@fmassa fmassa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@fmassa fmassa merged commit c645f9d into pytorch:master Feb 4, 2021
facebook-github-bot pushed a commit that referenced this pull request Feb 10, 2021
Summary:
* make timeout a parameter

* check redirects

Reviewed By: fmassa

Differential Revision: D26341415

fbshipit-source-id: ec3ae58315549859c6e6e9c7fb5aa52a6d4ca158

Co-authored-by: Francisco Massa <fvsmassa@gmail.com>
@pmeier pmeier deleted the improve-download-tests branch February 25, 2021 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants