From 1b2129aaa6151cc91f40b4ec03387b91b705a33b Mon Sep 17 00:00:00 2001 From: Simon Rozsival Date: Sat, 11 Jul 2026 15:11:16 +0200 Subject: [PATCH] [tests] Disable flaky UnregisterFromRuntime test Temporarily ignore the process-wide peer-count assertion while dotnet/android#12031 tracks an isolated leak-test harness. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 7be7d34c-aff3-4338-b15b-6061bc7a3ba9 --- .../tests/Java.Interop-Tests/Java.Interop/JavaObjectTest.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/external/Java.Interop/tests/Java.Interop-Tests/Java.Interop/JavaObjectTest.cs b/external/Java.Interop/tests/Java.Interop-Tests/Java.Interop/JavaObjectTest.cs index fcd3a37aa06..1d308fc945a 100644 --- a/external/Java.Interop/tests/Java.Interop-Tests/Java.Interop/JavaObjectTest.cs +++ b/external/Java.Interop/tests/Java.Interop-Tests/Java.Interop/JavaObjectTest.cs @@ -44,6 +44,7 @@ public void JavaReferencedInstanceSurvivesCollection () #endif // !NO_GC_BRIDGE_SUPPORT [Test] + [Ignore ("Frequently failing: https://github.com/dotnet/android/issues/12031")] public void UnregisterFromRuntime () { int registeredCount = JniRuntime.CurrentRuntime.ValueManager.GetSurfacedPeers ().Count;