Reputation: 11
We have created one build definition in VSTS and map a test plan having 6 test cases to execute those on Hosted agent(having 2 machine). We have added two remote agent on a single azure pool which I am targeting as environment for the run agent of build definition.
Agenda- We want that test cases should be distributed run time on both Hosted agent to achieve parallel execution. Means- 3 test cases per machine should be pick.
Can any one please help us to do ? Thanks in advance.
Upvotes: 0
Views: 73
Reputation: 30422
You can try to use the agent phases and select Multi-Agent
with Visual Studio Test
task.
Please see Testing with unified agents and phases for details.
Related document: Phases in Build and Release Management
Similar thread for your reference : https://github.com/Microsoft/vsts-tasks/issues/4742
Upvotes: 2