Skip to content

CoreCLR test failure: Java.InteropTests.JavaObjectTest.Dispose_Finalized #10358

@jonathanpeppers

Description

@jonathanpeppers

Android framework version

net10.0-android (Preview)

Affected platform version

.NET 10

Description

After merging #10354, a couple test runs are successful, but then one failed:

Mono.Android.NET_Tests, Java.InteropTests.JavaObjectTest.Dispose_Finalized / Release

System.AggregateException : AggregateException_ctor_DefaultMessage (  Expected: True
But was:  False
)
----> NUnit.Framework.AssertionException :   Expected: True
But was:  False

Test source:

So, I suspect the test is flaky and fails some percentage of the time.

We should check out if this is a bug, or if the test can be improved.

Steps to Reproduce

Run tests\Mono.Android-Tests\Mono.Android-Tests\Mono.Android.NET-Tests.csproj several times

Did you find any workaround?

Run it again, it passes sometimes.

Relevant log output

logcat-ReleaseCoreCLR-Mono.Android.NET_Tests (12).txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions