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

Disable STJ SG unit tests on x86 hardware. #99078

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

eiriktsarpalis
Copy link
Member

Following up on feedback from #98994 this disables unit tests for x86 hardware as well. Fix #71962.

@ghost
Copy link

ghost commented Feb 28, 2024

Tagging subscribers to this area: @dotnet/area-system-text-json, @gregsdennis
See info in area-owners.md if you want to be subscribed.

Issue Details

Following up on feedback from #98994 this disables unit tests for x86 hardware as well. Fix #71962.

Author: eiriktsarpalis
Assignees: -
Labels:

area-System.Text.Json

Milestone: -

@eiriktsarpalis eiriktsarpalis added this to the 9.0.0 milestone Feb 28, 2024
@@ -12,6 +12,7 @@ namespace System.Text.Json.SourceGeneration.UnitTests
[ActiveIssue("https://github.com/dotnet/runtime/issues/58226", TestPlatforms.Browser)]
[SkipOnCoreClr("https://github.com/dotnet/runtime/issues/71962", ~RuntimeConfiguration.Release)]
[SkipOnMono("https://github.com/dotnet/runtime/issues/92467")]
Copy link
Member

Choose a reason for hiding this comment

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

Was Mono is failing for different reason or was it failing on x86 arch? I am asking to know if we still need to keep this skipping.

Copy link
Member

Choose a reason for hiding this comment

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

I think we can remove the Mono skip and possibly also the CoreCLR one since according to #71962 the issues we saw with Checked config also seemed to happen on x86 only.

Copy link
Member Author

Choose a reason for hiding this comment

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

I should note that these unit tests are particularly resource intensive. They are there primarily to aid design-time development of the source generator, so I don't think we need to run them on every platform available.

@eiriktsarpalis eiriktsarpalis merged commit 5e603d5 into dotnet:main Feb 29, 2024
108 of 111 checks passed
@eiriktsarpalis eiriktsarpalis deleted the disable-json-test-x86 branch February 29, 2024 13:37
@github-actions github-actions bot locked and limited conversation to collaborators Mar 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants