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

Ensure that fixtures also support sta threading #2769

Merged
merged 4 commits into from Apr 26, 2024

Conversation

Evangelink
Copy link
Member

Fixes #2700

#if NET6_0_OR_GREATER
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
#endif
private static TestFailedException? RunWithTimeoutAndCancellationWithCustomThread(
Copy link
Member

Choose a reason for hiding this comment

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

consider: add STA to the name

Copy link
Member

Choose a reason for hiding this comment

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

yes please, RunWithTimeoutAndCancellationWithSTAThread is definitely a better name. Custom suggests that we are not even using the System.Threading.Thread.

drognanar
drognanar previously approved these changes Apr 26, 2024
@Evangelink Evangelink merged commit 791ab17 into microsoft:main Apr 26, 2024
1 check passed
@Evangelink Evangelink deleted the fixtures-sta branch April 26, 2024 12:25
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.

Adding Init/Cleanup timeouts change the threading of these methods
3 participants