vNext and new task RunDistributedTests - parallel testing

穿精又带淫゛_ 提交于 2019-12-13 07:20:14

问题


In TFS update 2 is available new task "RunDistributedTests" it can work with test plans and test suites. In my case I want run test suite on 5 machines at the same time (parallel testing)

My test suite include Coded UI tests. The machine group to consists of 5 tests machine.

After execution I see the next result: The tests running only one machine that is the first at the list of Machine group. Other machines doesn't have any action.

I checked the log file DTAExecutionHost.exe.log and found this exception on each machine where tests doesn't run:

/tfs/Projects/_apis/test/Agents/97/Commands/0] (GET)0[test] \DTAExecutionHost, TestExecutionServiceCommandQueueListener.DispatchAsync : A TestExecutionObjectNotFoundException has occured. \DTAExecutionHost, TestExecutionServiceCommandQueueListener.SendStopCommandToHandleException : An exception occured in queue listener. Microsoft.TeamFoundation.Test.WebApi.TestExecutionObjectNotFoundException: TestAgent 97 not found. at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.HandleResponse(HttpResponseMessage response) at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.d__79.MoveNext() --- End of stack trace from previous location where exception was thrown ---

Maybe someone has already met with a similar problem I will be glad of any help Thanks!

来源:https://stackoverflow.com/questions/36718563/vnext-and-new-task-rundistributedtests-parallel-testing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!