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
dotnet.exe vstest.console.dll with more than seven test sources dll run to fail with error "Error: Index was outside the bounds of the array"
Steps to reproduce
Run dotnet.exe vstest.console.dll with more than 7 test source
Ex: C:\Users\samadala\src\vstest\tools\dotnet\dotnet.exe C:\Users\samadala\src\vstest\artifacts\Debug\netcoreapp1.0\vstest.console.dll C:\Users\samadala\src\vstest\test\datacollector.x86.UnitTests\bin\Debug\netcoreapp1.0\datacollector.x86.UnitTests.dll C:\Users\samadala\src\vstest\test\Microsoft.TestPlatform.Client.UnitTests\bin\Debug\netcoreapp1.0\Microsoft.TestPlatform.Client.UnitTests.dll C:\Users\samadala\src\vstest\test\Microsoft.TestPlatform.Common.UnitTests\bin\Debug\netcoreapp1.0\Microsoft.TestPlatform.Common.UnitTests.dll C:\Users\samadala\src\vstest\test\Microsoft.TestPlatform.CommunicationUtilities.UnitTests\bin\Debug\netcoreapp1.0\Microsoft.TestPlatform.CommunicationUtilities.UnitTests.dll C:\Users\samadala\src\vstest\test\Microsoft.TestPlatform.CoreUtilities.UnitTests\bin\Debug\netcoreapp1.0\Microsoft.TestPlatform.CoreUtilities.UnitTests.dll C:\Users\samadala\src\vstest\test\Microsoft.TestPlatform.CrossPlatEngine.UnitTests\bin\Debug\netcoreapp1.0\Microsoft.TestPlatform.CrossPlatEngine.UnitTests.dll C:\Users\samadala\src\vstest\test\Microsoft.TestPlatform.Extensions.TrxLogger.UnitTests\bin\Debug\netcoreapp1.0\Microsoft.TestPlatform.Extensions.TrxLogger.UnitTests.dll C:\Users\samadala\src\vstest\test\Microsoft.TestPlatform.ObjectModel.UnitTests\bin\Debug\netcoreapp1.0\Microsoft.TestPlatform.ObjectModel.UnitTests.dll C:\Users\samadala\src\vstest\test\Microsoft.TestPlatform.Utilities.UnitTests\bin\Debug\netcoreapp1.0\Microsoft.TestPlatform.Utilities.UnitTests.dll C:\Users\samadala\src\vstest\test\Microsoft.TestPlatform.VsTestConsole.TranslationLayer.UnitTests\bin\Debug\netcoreapp1.0\Microsoft.TestPlatform.VsTestConsole.TranslationLayer.UnitTests.dll /platform:x64 /framework:.NETCoreApp,Version=v1.0 /testAdapterPath:C:\Users\samadala\src\vstest\packages\MSTest.TestAdapter\1.1.6-preview\build\_common /parallel
Expected behavior
Test run should successful.
Actual behavior
Failed with Error: Index was outside the bounds of the array
Run is halting forever
StackTrace:
at System.Collections.Generic.Queue1.Enqueue(T item) at Newtonsoft.Json.Serialization.MemoryTraceWriter.Trace(TraceLevel level, String message, Exception ex) at Newtonsoft.Json.Serialization.JsonSerializerInternalBase.IsErrorHandled(Object currentObject, JsonContract contract, Object keyValue, IJsonLineInfo lineInfo, String path, Exception ex) at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType) at Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType) at Newtonsoft.Json.Linq.JToken.FromObjectInternal(Object o, JsonSerializer jsonSerializer) at Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.SerializePayload(String messageType, Object payload) in C:\Users\samadala\src\vstest\src\Microsoft.TestPlatform.CommunicationUtilities\JsonDataSerializer.cs:line 134 at Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.SocketCommunicationManager.SendMessage(String messageType, Object payload) in C:\Users\samadala\src\vstest\src\Microsoft.TestPlatform.CommunicationUtilities\SocketCommunicationManager.cs:line 222 at Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.TestRequestSender.InitializeExecution(IEnumerable1 pathToAdditionalExtensions, Boolean loadOnlyWellKnownExtensions) in C:\Users\samadala\src\vstest\src\Microsoft.TestPlatform.CommunicationUtilities\TestRequestSender.cs:line 94
at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyExecutionManager.InitializeExtensions(IEnumerable`1 sources) in C:\Users\samadala\src\vstest\src\Microsoft.TestPlatform.CrossPlatEngine\Client\ProxyExecutionManager.cs:line 171
at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyExecutionManager.StartTestRun(TestRunCriteria testRunCriteria, ITestRunEventsHandler eventHandler) in C:\Users\samadala\src\vstest\src\Microsoft.TestPlatform.CrossPlatEngine\Client\ProxyExecutionManager.cs:line 94
The text was updated successfully, but these errors were encountered:
Description
Steps to reproduce
Expected behavior
Actual behavior
The text was updated successfully, but these errors were encountered: