diff --git a/src/Umbraco.Tests.Integration/create_slicing_filter_condition.sh b/src/Umbraco.Tests.Integration/create_slicing_filter_condition.sh deleted file mode 100644 index 6b98271147..0000000000 --- a/src/Umbraco.Tests.Integration/create_slicing_filter_condition.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -filterProperty="Name" - -tests=$1 -testCount=${#tests[@]} -totalAgents=$SYSTEM_TOTALJOBSINPHASE -agentNumber=$SYSTEM_JOBPOSITIONINPHASE - -if [ $totalAgents -eq 0 ]; then totalAgents=1; fi -if [ -z "$agentNumber" ]; then agentNumber=1; fi - -echo "Total agents: $totalAgents" -echo "Agent number: $agentNumber" -echo "Total tests: $testCount" - -echo "Target tests:" -for ((i=$agentNumber; i <= $testCount;i=$((i+$totalAgents)))); do -targetTestName=${tests[$i -1]} -echo "$targetTestName" -filter+="|${filterProperty}=${targetTestName}" -done -filter=${filter#"|"} - -echo "##vso[task.setvariable variable=targetTestsFilter]$filter"