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

Improvements to BackgroundWorker and its tests #1773

Merged
merged 5 commits into from Jul 13, 2022

Conversation

mattjohnsonpint
Copy link
Contributor

Major improvements to the tests for BackgroundWorker, and a few minor improvements to the BackgroundWorker itself. This should resolve several flaky test issues.

It also drastically simplifies many of the tests, making them more reliable and easier to maintain.

Fixes #935

Copy link
Member

@bruno-garcia bruno-garcia left a comment

Choose a reason for hiding this comment

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

🚀

src/Sentry/Internal/BackgroundWorker.cs Outdated Show resolved Hide resolved
src/Sentry/Internal/BackgroundWorker.cs Show resolved Hide resolved
Co-authored-by: Bruno Garcia <bruno@brunogarcia.com>
@mattjohnsonpint mattjohnsonpint merged commit 988d3c8 into main Jul 13, 2022
@mattjohnsonpint mattjohnsonpint deleted the backgroundworker-tests branch July 13, 2022 15:28
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 this pull request may close these issues.

Dispose_StopsTask is flaky
2 participants