Assign To

Additionally, with parallelTestCount="4", we are intermittently seeing tests aborting with

QTAgent.exe, Performance warning: m_test should be null when TestResult is serialized. Please find the offending code and correct it.

Surely this is NOT from an unhandled exception, i.e. a failed test.

Posted by Rob D S on 9/20/2012 at 1:23 PM

I'm running VS2010 (Ultimate) with SP1, and have uploaded my current 'help about' output for VS. Perhaps VS2010 is now a dead release that VS2012 is out, but ...

I'm seeing the problem still. Can someone at Microsoft please verify the fix is in SP1, or not ?On top of the fact I'm still seeing the problem, the parallelTestCount setting seems to be very sticky. I've removed it, changed it to "1", closed DevStudio (not just the solution), cleaned the solution, rebuild the solution, and none of this seems to allow me to run just one test at a time again.

Posted by Dave Black on 6/13/2012 at 12:00 PM

There is a nice post about how to workaround this problem here - http://www.bryancook.net/2011/11/fixing-parallel-test-execution-in.html

Note that I have not tried the Hotfix mentioned here by Darshan so I am not sure exactly what is contained in the Hotfix or if it actually does work.

HTH

Posted by Darshan Desai [MSFT] on 1/16/2012 at 10:15 PM

We have released a hotfix to fix this problem. Please apply this hotfix on your machine and try running tests with this attribute: http://support.microsoft.com/kb/2619410

Thanks.

-Darshan DesaiProgram Manager, Visual Studio team

Posted by ScoobyD00UK on 4/23/2011 at 2:45 AM

I'm running Visual Studio 2010 SP1.

Posted by ScoobyD00UK on 4/23/2011 at 2:44 AM

This is still not resolved (despite being marked as fixed).

5 tests run in parallel perfectly.

With 6 or more tests configured to run in parallel - all tests fail instantly saying "Aborted".