Skip to content

Disable failing tests on mono#129163

Open
BrzVlad wants to merge 3 commits into
dotnet:mainfrom
BrzVlad:disable-mono-tests
Open

Disable failing tests on mono#129163
BrzVlad wants to merge 3 commits into
dotnet:mainfrom
BrzVlad:disable-mono-tests

Conversation

@BrzVlad

@BrzVlad BrzVlad commented Jun 9, 2026

Copy link
Copy Markdown
Member

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 disables a small set of failing System.Text.Json tests on Mono by annotating them with [ActiveIssue] skips tied to tracked GitHub issues, targeting Apple mobile platforms.

Changes:

  • Add an [ActiveIssue] skip to MetadataServices_NullPolymorphismOptions_DoesNotActivateAttributeClassifier.
  • Add [ActiveIssue] skips to two JSONL async-enumerable “partial item failure” tests (Stream + PipeWriter variants).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/PolymorphicTests.TypeClassifier.cs Skips a failing polymorphism metadata ordering/behavior test on Mono Apple mobile via [ActiveIssue].
src/libraries/System.Text.Json/tests/Common/AsyncEnumerableTests.cs Skips two failing async-enumerable JSONL partial-failure tests on Mono Apple mobile via [ActiveIssue].

Comment thread src/libraries/System.Text.Json/tests/Common/AsyncEnumerableTests.cs Outdated
Comment thread src/libraries/System.Text.Json/tests/Common/AsyncEnumerableTests.cs Outdated

@kotlarmilos kotlarmilos left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

kotlarmilos and others added 2 commits June 9, 2026 15:05
The polymorphic classifier and async-enumerable partial-failure issues are
Mono full-AOT behaviors shared across all Apple mobile targets, so group the
ActiveIssue platform filter as Apple mobile rather than iOS/tvOS only.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Replace the explicit iOS/tvOS/MacCatalyst platform list with the
PlatformDetection.IsAppleMobile condition, combined with IsMonoRuntime to
keep the skip scoped to Mono (so CoreCLR-on-Apple-mobile coverage is
unaffected).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 9, 2026 13:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot's findings

  • Files reviewed: 2/2 changed files
  • Comments generated: 3

Comment thread src/libraries/System.Text.Json/tests/Common/AsyncEnumerableTests.cs
Comment thread src/libraries/System.Text.Json/tests/Common/AsyncEnumerableTests.cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants