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
"Object reference not set to an instance of an object.
Test Run Failed."
This is observed in cloudbuild exchange queues.
Steps to reproduce
Enable code coverage for with multiple vstest.console instances in parallel.
If time taken to start datacollector.exe more than 5 sec. tests fail with following error.
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.SocketCommunicationManager.ReceiveMessage()
at Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.DataCollection.DataCollectionRequestSender.SendBeforeTestRunStartAndGetResult(String settingsXml, ITestMessageEventHandler runEventsHandler)
at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.DataCollection.ProxyDataCollectionManager.<>c__DisplayClass13_0.<BeforeTestRunStart>b__0()
at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.DataCollection.ProxyDataCollectionManager.InvokeDataCollectionServiceAction(Action action, ITestMessageEventHandler runEventsHandler) Test Run Failed
Expected behavior
Code coverage should generate without any error.
Actual behavior
"Object reference not set to an instance of an object.
Test Run Failed."
The text was updated successfully, but these errors were encountered:
Description
This is observed in cloudbuild exchange queues.
Steps to reproduce
Expected behavior
Actual behavior
The text was updated successfully, but these errors were encountered: