Skip to content

Conversation

datumbox
Copy link
Contributor

@datumbox datumbox commented Aug 17, 2021

The Fate server of FFmpeg has been giving us headaches the last 2 weeks. Instead of disabling temporarily the test, I'm taking the approach to skip it if a connection issue occurs.

cc @pmeier

video_path = fate("sub/MovText_capability_tester.mp4", VIDEO_DIR)
try:
video_path = fate("sub/MovText_capability_tester.mp4", VIDEO_DIR)
except (urllib.error.URLError, ConnectionError) as error:
Copy link
Member

@NicolasHug NicolasHug Aug 17, 2021

Choose a reason for hiding this comment

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

Could you please add a TODO or a FIXME comment so we remember to remove this eventually? Otherwise LGTM, thanks

@datumbox datumbox merged commit af16236 into pytorch:master Aug 17, 2021
@datumbox datumbox deleted the tests/skip_on_connection_error branch August 17, 2021 17:00
facebook-github-bot pushed a commit that referenced this pull request Aug 20, 2021
Summary:
* Skip the test if the failure is due to a connection error.

* Add todo.

Reviewed By: NicolasHug

Differential Revision: D30417199

fbshipit-source-id: 4aa7f22ed1debf1fd0b0f674775ca74fa0197043
@datumbox datumbox added the bug label Sep 2, 2021
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