-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.Threading.Tasks.Parallel.Tests fails on Android #50566
Comments
Tagging subscribers to this area: @carlossanlop Issue DetailsOne test from System.Threading.Tasks.Parallel.Tests fails on Android
Based on CI runs from #50095
|
It looks like
from https://docs.microsoft.com/en-us/dotnet/api/system.threading.tasks.paralleloptions.maxdegreeofparallelism?view=net-6.0#system-threading-tasks-paralleloptions-maxdegreeofparallelism is not being honored, as in the |
Looking through the code path, it seems like the test with runtime/src/libraries/System.Threading.Tasks.Parallel/src/System/Threading/Tasks/Parallel.cs Lines 107 to 120 in 63b2656
Lines 79 to 82 in 63b2656
Environment.ProcessorCount runtime/src/libraries/System.Linq.Parallel/src/System/Linq/Parallel/Scheduling/Scheduling.cs Line 35 in 57bfe47
But I'm not sure why this fails only on Android. Is its Environment.ProcessorCount not supposed to be 1? |
One test from System.Threading.Tasks.Parallel.Tests fails on Android
Based on CI runs from #50095
The text was updated successfully, but these errors were encountered: