- 
                Notifications
    You must be signed in to change notification settings 
- Fork 5.2k
Closed
Labels
arch-wasmWebAssembly architectureWebAssembly architecturearea-VM-threading-monodisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issue
Milestone
Description
Failing after enabling all MT library tests (#91536).
[FAIL] System.Threading.Tasks.Tests.ParallelForTests.TestParallelScheduler
 System.AggregateException : One or more errors occurred. (TestParallelScheduler:    > FAILED.  PFor: TaskScheduler.Default not used when no ParallelOptions are specified.
 Expected: True
 Actual:   False)
 ---- TestParallelScheduler:    > FAILED.  PFor: TaskScheduler.Default not used when no ParallelOptions are specified.
 Expected: True
 Actual:   False
    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
    at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
    at System.Threading.Tasks.Task.Wait()
    at System.Threading.Tasks.Tests.ParallelForTests.TestParallelScheduler()
    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
 ----- Inner Stack Trace -----
    at System.Threading.Tasks.Tests.ParallelForTests.<>c__DisplayClass17_0.<TestParallelScheduler>b__0()
    at System.Threading.Tasks.Task.InnerInvoke()
    at System.Threading.Tasks.Task.<>c.<.cctor>b__281_0(Object obj)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
 --- End of stack trace from previous location ---
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
Metadata
Metadata
Assignees
Labels
arch-wasmWebAssembly architectureWebAssembly architecturearea-VM-threading-monodisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issue