我正在尝试使用同一远程计算机上的测试控制器在远程代理上运行测试。我已按如下方式设置了我的 TestSettings 文件:
<RemoteController name="MachineName" />
<Execution location="Remote">
<AgentRule name="AllAgentsDefaultRole">
</AgentRule>
当我告诉 MSTest 在发布或调试模式下执行选定的测试时,它成功构建项目,然后返回"Failed to queue test run 'run name': No connection could be made because the target machine actively refused it."
Visual Studio 2013 已安装在控制器/代理机器上,并且代理、控制器和客户端都可以成功通信。默认端口用于通信(6901 和 6910),并且 telnet 能够连接。如何让测试成功执行?