From d4376e00c61fb272d7438c666f37189fa5718b0b Mon Sep 17 00:00:00 2001 From: Bjarke Berg Date: Tue, 27 Oct 2020 12:01:17 +0100 Subject: [PATCH] removed test file Signed-off-by: Bjarke Berg --- .../create_slicing_filter_condition.sh | 25 ------------------- 1 file changed, 25 deletions(-) delete mode 100644 src/Umbraco.Tests.Integration/create_slicing_filter_condition.sh 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"