dotnet / dotnet/runtime

[naot][android] BasicThreading UnitTest failure

Open
#121,451 3 comments 0 reactions 0 assignees View on GitHub
area-NativeAOT-coreclr disabled-test os-android
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

The `TestIsBackgroundProperty` check is failing for the thread created with `Thread.Start`:

```
11-06 18:10:52.766 3452 3471 I DOTNET : ===== Running test BasicThreading.Run =====
11-06 18:10:52.986 3452 3471 I DOTNET : ERROR: Expected CurrentThread.IsBackground == false
11-06 18:10:52.987 3452 3471 I DOTNET : ERROR: TestIsBackgroundProperty: Expected s_passed == 6, got 5
```

Like https://github.com/dotnet/runtime/issues/121216, I see this in ci but can't repro it locally.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.