opened
kardinal3000
username_0
Hello guys, I had install TFS 15 RC1 and faced with next issue the slicing of test cases coming from single assembly was working (VSO) and were distributed uniformly on two different VMs. But when using on premises build agent ,the slicing is not working. I have already updated build agent to **2.105.2.** I get this warning when run tests task starts.

Executing the powershell script: D:\VSTSAgents\_work\_tasksRunVisualStudioTestsusingTestAgent_d353d6a2-e361-4a8f-8d8c-123bebb71028\1.0.40\RunDistributedTests.ps1
**Update the build agent to run tests with uniform distribution. If you are using hosted agent there are chances that it is still not updated, so retry using your own agent.**

I have  try use  to more older version of build agent  103.1, 104.1, 104.2, 105, 105.1 didn't help 

I have managed to produce it on version of Build Agent 103 I mean run distribution tests in parallel mode. But this situation is not regular 

On further investigation it appears class InvokeRundistributedTestsCmdLet of  **Microsoft.TeamFoundation.DistributedTask.Task.LegacySDK.dll** doesn't have custom slicing enabled as a parameter. Why it was working with hosting agent. Does it mean the  Microsoft.TeamFoundationDistributedTask.Task.LegacySDK.dll is different in case of hosted agent ?
The task RunVisualStudioTestsusingTestAgent
issue
created
acesiddhu
username_1
This one is a duplicate of https://github.com/Microsoft/vsts-tasks/issues/2370.
comment
created
acesiddhu
username_1
Closing this instance. we will track #2370.
comment
closed
acesiddhu
username_1
issue