Skip to content

Conversation

nairbv
Copy link
Contributor

@nairbv nairbv commented Jul 20, 2022

Description

I noticed a unit test fails locally, and I see an attempt to make it work using sleep. Using join on the procs fixes it more reliably, waiting for the actual procs to finish.

Checklist

Go over all the following points, and put an x in all the boxes that apply.
If you are unsure about any of these, don't hesitate to ask. We are here to help!

  • [x ] I have read the CONTRIBUTION guide (required)
  • My change requires a change to the documentation.
  • [x ] I have updated the tests accordingly (required for a bug fix or a new feature).
  • I have updated the documentation accordingly.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 20, 2022
Copy link
Collaborator

@vmoens vmoens left a comment

Choose a reason for hiding this comment

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

LGTM thanks
Weird that I missed that

@vmoens vmoens changed the title fix flaky test by waiting for procs instead of sleep [BugFix] Fix flaky test by waiting for procs instead of sleep Jul 20, 2022
@vmoens vmoens added bug Something isn't working Tests Incomplete or broken unit tests labels Jul 20, 2022
@vmoens vmoens merged commit 701dfb7 into pytorch:main Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Tests Incomplete or broken unit tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants