AngieM
AngieM

Reputation: 745

TFS 2015 Release Cannot Get “Run Functional Tests” Task to Work on Multiple Machines

On-prem TFS 2015 Update 3.

I have multiple machines (different Operating Systems) that I want to run my tests on. I'm having issues getting this simple flow to work successfully. Here's what I've tried:

  1. Deploy Test Agent task on multiple machines are successful.
  2. If I put multiple machines in one "Run Functional Tests" task, it will execute the test one ONE of those machines in step 1 only (and will complete successful if this is the first task). Logs here: One Task
  3. If I set up 2 separate tasks, one for each machine, the 1st task will execute successfully, but as seen in bullet 2, the test is run on ANY ONE of the machines in step 1 (NOT the specific one specified for the task). In the example attached, the 1st task is set up to run on Win7, but the test was actually executed on the Win8 machine. Then the 2nd task (which is set up to run against the Win10 machine) will not complete, no matter what machine or test I put in it. Logs for this scenario attached: Two Tasks

It seems that the PS script(s) for this task is broken in our environment.

Thanks!

Upvotes: 0

Views: 165

Answers (1)

starian chen-MSFT
starian chen-MSFT

Reputation: 33738

The solution is that you can configure test agent separately: configure a agent, then run test, then configure another agent and run test.

Upvotes: 1

Related Questions