-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Cleanup named mutex tests #117128
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
Cleanup named mutex tests #117128
Conversation
Deduplicate issues for missing cross-process named mutex support on NativeAOT and Mono Closes dotnet#70127
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR centralizes the logic for skipping named-mutex tests on platforms without cross-process support and cleans up individual ActiveIssue attributes.
- Introduces
IsCrossProcessNamedMutexSupported
to determine when cross-process named mutexes are supported. - Replaces scattered
[ActiveIssue]
attributes with[ConditionalFact]
and[ConditionalTheory]
driven by the new predicate. - Updates
GetValidNames
to account for platforms lacking cross-process named mutex support.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Deduplicate issues for missing cross-process named mutex support on NativeAOT and Mono
Closes #70127