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

Make Cancel Discovery faster and more reliable #3527

Merged

Conversation

nohwnd
Copy link
Member

@nohwnd nohwnd commented Mar 29, 2022

Add tests at the start that are fast to discover and cancel only once on the first of them (#3526).

Make the delay much smaller because it is multiplied by 3 because we create that attribute 3 times (microsoft/testfx#1056). This makes the first test be reported much sooner (we wait for all attributes to be created when scanning the class / dll microsoft/testfx#1057). Then to make sure discovery is still running, add 3 tests that slow down the discovery to make sure we are still discovering while we call cancel.

@nohwnd nohwnd enabled auto-merge (squash) March 29, 2022 10:15
@nohwnd nohwnd merged commit 7258347 into microsoft:main Mar 29, 2022
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.

2 participants