While trying to run all the unit tests in my solution(Visual Studio 2010) I am getting a ‘Failed to queue test run xxxx@MACHINENAME 2010-06-23 14:01:36′: Unable to start the agent process’ error. Does anyone know what causes this particular error to occur and how to resolve it so that I can run my unit tests?
Thanks
I don’t know if this is still the case for Visual Studio 2010, but you could have this same scenario in Visual Studio 2008. When breaking off a unit test run (i.e. when detecting erroneous code while debugging a unit test) it would leave a process running.
The process that is hindering execution for Visual Studio 2008 and has to be killed to be able to unit test again is VSPerfMon.exe. Might be wort a look for VS2010.