Skip to content

Fix SkipOnHelix skipping tests that had ';' at the end of the Queues list #60183

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

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

BrennanConroy
Copy link
Member

For example,

[SkipOnHelix("Unsupported queue", Queues = "Windows.Amd64.VS2022.Pre.Open;")]
is completely skipped on CI due to this bug.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
…s list
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Feb 4, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

src/Testing/src/xunit/SkipOnHelixAttribute.cs:71

  • Ensure there is a test case that verifies the behavior when there is a trailing ';' in the Queues list.
return Queues.ToLowerInvariant().Split([';'], StringSplitOptions.RemoveEmptyEntries)

Copy link
Member

@adityamandaleeka adityamandaleeka left a comment

Choose a reason for hiding this comment

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

🙈

@BrennanConroy BrennanConroy merged commit 25e3e3a into main Feb 4, 2025
27 checks passed
@BrennanConroy BrennanConroy deleted the BrennanConroy-patch-1 branch February 4, 2025 04:35
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0-preview2 milestone Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants