Skip to content

[tests] Skip InflateCustomView_ShouldNotLeakGlobalRefs until global ref leak is fully resolved#11202

Merged
jonathanpeppers merged 2 commits intomainfrom
dev/simonrozsival/skip-gref-leak-test
Apr 24, 2026
Merged

[tests] Skip InflateCustomView_ShouldNotLeakGlobalRefs until global ref leak is fully resolved#11202
jonathanpeppers merged 2 commits intomainfrom
dev/simonrozsival/skip-gref-leak-test

Conversation

@simonrozsival
Copy link
Copy Markdown
Member

@simonrozsival simonrozsival commented Apr 24, 2026

The test CustomWidgetTests.InflateCustomView_ShouldNotLeakGlobalRefs is failing across multiple CI configurations despite multiple merged fixes (#11112, dotnet/java-interop#1403, dotnet/java-interop#1410).

Skip the test with [Ignore] until the remaining global ref leak is fully investigated and resolved.

Context #11201

…ef leak is fully resolved

The test is failing across multiple CI configurations. Multiple fixes
have been merged (#11112, dotnet/java-interop#1403,
dotnet/java-interop#1410) but the leak is not fully resolved yet.

Fixes: #11201

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 24, 2026 07:53
Copy link
Copy Markdown
Contributor

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.

Pull request overview

Skips a currently-failing regression test in the Mono.Android test suite until the remaining JNI global reference leak is fully investigated and resolved (tracked in #11201).

Changes:

  • Mark CustomWidgetTests.InflateCustomView_ShouldNotLeakGlobalRefs as ignored with a link to the tracking issue.

Comment thread tests/Mono.Android-Tests/Mono.Android-Tests/Android.Widget/CustomWidgetTests.cs Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@jonathanpeppers jonathanpeppers merged commit feab43b into main Apr 24, 2026
2 of 3 checks passed
@jonathanpeppers jonathanpeppers deleted the dev/simonrozsival/skip-gref-leak-test branch April 24, 2026 13:26
Copy link
Copy Markdown
Member

@jonathanpeppers jonathanpeppers left a comment

Choose a reason for hiding this comment

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

I merged, but forgot to hit approve first. 👍

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.

3 participants