Failed to queue test run: Unable to start the agent process(Visual Studio 2010)(未能将测试运行排队:无法启动代理进程(Visual Studio 2010))
问题描述
尝试在我的解决方案 (Visual Studio 2010) 中运行所有单元测试时,我收到无法将测试运行排队 xxxx@MACHINENAME 2010-06-23 14:01:36":无法启动代理进程' 错误.有谁知道导致这个特定错误发生的原因以及如何解决它以便我可以运行我的单元测试?
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?
谢谢
推荐答案
我不知道 Visual Studio 2010 是否仍然是这种情况,但在 Visual Studio 2008 中您可能会遇到同样的情况.当断开一个单元时测试运行(即在调试单元测试时检测到错误代码时)它将使进程继续运行.
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.
阻碍 Visual Studio 2008 执行并且必须被终止才能再次进行单元测试的进程是 VSPerfMon.exe.可能值得一看 VS2010.
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.
这篇关于未能将测试运行排队:无法启动代理进程(Visual Studio 2010)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:未能将测试运行排队:无法启动代理进程(Visual Studio 2010)
基础教程推荐
- 如果有人提交恶意软件Nuget包怎么办? 2022-01-01
- C# 从 List<List<int>> 中删除重 2022-01-01
- Moq It.Is<>不匹配 2022-01-01
- Azure Functions:CosmosDBTrigger 未在 Visual Studio 中触发 2022-01-01
- 禁止输入少量字符,例如'<'、'&a 2022-01-01
- 如何使用 .Net 检查 Active Directory 服务器是否已启动并正在运行? 2022-01-01
- .NET SerialPort DataReceived 事件未触发 2022-01-01
- WPF 模态进度窗口 2022-01-01
- 当值可以是对象或空数组时反序列化 JSON 2022-01-01
- 我应该在后面的代码中直接使用 Linq To SQL 还是使 2022-01-01
