Skip to content

[NativeAOT] Investigate failing DoNotLeakWeakReferences #11690

@simonrozsival

Description

@simonrozsival

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1468779

Failure:

DoNotLeakWeakReferences
System.Exception : Worker thread failed
----> NUnit.Framework.AssertionException :   #2
Expected: 25 +/- 10
But was:  51
Off by:   -26.0d

   at Java.InteropTests.JnienvTest.DoNotLeakWeakReferences()
   at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean)
--AssertionException
   at NUnit.Framework.Assert.ReportFailure(String)
   at NUnit.Framework.Assert.ReportFailure(ConstraintResult, String, Object[])
   at NUnit.Framework.Assert.That[TActual](TActual, IResolveConstraint, String, Object[])
   at Java.InteropTests.JnienvTest.<>c__DisplayClass32_0.<DoNotLeakWeakReferences>b__1()

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: NativeAOTIssues that only occur when using NativeAOT.bugComponent does not function as intended.needs-triageIssues that need to be assigned.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions