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

When an async test times out, any fixtures used in the tests are not torn down #285

Closed
bilal-fazlani opened this issue Jan 10, 2021 · 1 comment · Fixed by #436
Closed
Milestone

Comments

@bilal-fazlani
Copy link

No description provided.

@bilal-fazlani bilal-fazlani changed the title When as async test times out, any fixtures used in the tests are not torn down When an async test times out, any fixtures used in the tests are not torn down Jan 10, 2021
@olafurpg olafurpg added this to the MUnit v1.0 milestone Oct 16, 2021
olafurpg added a commit to olafurpg/munit that referenced this issue Oct 16, 2021
The bug appears to be fixed with the recent changes to async fixtures.
olafurpg added a commit to olafurpg/munit that referenced this issue Oct 16, 2021
The bug appears to be fixed with the recent changes to async fixtures.
olafurpg added a commit to olafurpg/munit that referenced this issue Oct 16, 2021
The bug appears to be fixed with the recent changes to async fixtures.
@olafurpg
Copy link
Member

Thank you for reporting! I'm unable to reproduce with the latest version of MUnit (v1.0.0-M1). I opened a PR reproducing the case and the fixture gets torn down on timeout. The PR #430 changed how the timeout is implemented which probably fixed this bug.

olafurpg added a commit to olafurpg/munit that referenced this issue Oct 16, 2021
The bug appears to be fixed with the recent changes to async fixtures.
olafurpg added a commit to olafurpg/munit that referenced this issue Oct 16, 2021
The bug appears to be fixed with the recent changes to async fixtures.
olafurpg added a commit that referenced this issue Oct 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants