You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Concurrency problem in Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.PlatformServiceProvider.GetTestContext
Steps To Reproduce
MSTest 3.6.1 + MSTest.SDK (using MSTest Runner)
Expected behavior
No exception
Actual behavior
System.AggregateException: One or more errors occurred.(Sourcearray was not long enough. Check the source index,length,andthe array's lower bounds.(Parameter 'sourceArray'))---> System.ArgumentException:Source array was not longenough.Check the sourceindex,length,andthe array's lower bounds.(Parameter 'sourceArray')
at System.Array.CopyImpl(ArraysourceArray,Int32sourceIndex,ArraydestinationArray,Int32destinationIndex,Int32length,Booleanreliable)
at System.Array.Copy(ArraysourceArray,ArraydestinationArray,Int32length)
at System.Collections.Generic.List`1.set_Capacity(Int32value)
at System.Collections.Generic.List`1.AddWithResize(Titem)
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.TestRunCancellationToken.Register(Actioncallback)in/_/src/Adapter/MSTest.TestAdapter/Execution/TestRunCancellationToken.cs:line 61
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.PlatformServiceProvider.GetTestContext(ITestMethodtestMethod,StringWriterwriter, IDictionary`2properties)in/_/src/Adapter/MSTest.TestAdapter/PlatformServiceProvider.cs:line 161
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.UnitTestRunner.RunSingleTest(TestMethodtestMethod, IDictionary`2testContextProperties)in/_/src/Adapter/MSTest.TestAdapter/Execution/UnitTestRunner.cs:line 141
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestExecutionManager.ExecuteTestsWithTestRunner(IEnumerable`1tests,ITestExecutionRecordertestExecutionRecorder,Stringsource, IDictionary`2sourceLevelParameters,UnitTestRunnertestRunner)in/_/src/Adapter/MSTest.TestAdapter/Execution/TestExecutionManager.cs:line 438
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestExecutionManager.<>c__DisplayClass21_1.<ExecuteTestsInSource>b__7()in/_/src/Adapter/MSTest.TestAdapter/Execution/TestExecutionManager.cs:line 363
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(ThreadthreadPoolThread,ExecutionContextexecutionContext,ContextCallbackcallback,Objectstate)---Endof stack trace from previous location ---atSystem.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(ThreadthreadPoolThread,ExecutionContextexecutionContext,ContextCallbackcallback,Objectstate)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task¤tTaskSlot,ThreadthreadPoolThread)---End of inner exception stack trace ---at System.Threading.Tasks.Task.WaitAllCore(Task[]tasks,Int32millisecondsTimeout,CancellationTokencancellationToken)
The text was updated successfully, but these errors were encountered:
Describe the bug
Concurrency problem in Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.PlatformServiceProvider.GetTestContext
Steps To Reproduce
MSTest 3.6.1 + MSTest.SDK (using MSTest Runner)
Expected behavior
No exception
Actual behavior
The text was updated successfully, but these errors were encountered: