This is an automated email from the ASF dual-hosted git repository.

ocket8888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
     new 9c7786b  TO API Tests in CiaB: Do not test API v1 (#6669)
9c7786b is described below

commit 9c7786bbfeda88e8c50c215bc9fd0aa712f8e520
Author: Zach Hoffman <[email protected]>
AuthorDate: Thu Mar 17 15:30:29 2022 -0600

    TO API Tests in CiaB: Do not test API v1 (#6669)
---
 infrastructure/cdn-in-a-box/traffic_ops_integration_test/run.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/infrastructure/cdn-in-a-box/traffic_ops_integration_test/run.sh 
b/infrastructure/cdn-in-a-box/traffic_ops_integration_test/run.sh
index 67f602c..26cd115 100755
--- a/infrastructure/cdn-in-a-box/traffic_ops_integration_test/run.sh
+++ b/infrastructure/cdn-in-a-box/traffic_ops_integration_test/run.sh
@@ -41,15 +41,15 @@ done
 source config.sh
 
 exit_code=0
-for api_version in v{1..4}; do
+for api_version in v{2..4}; do
        ./traffic_ops_${api_version}_integration_test -test.v 
-cfg=traffic-ops-test.conf -fixtures=tc-fixtures-${api_version}.json 2>&1 | 
./go-junit-report --package-name=golang.test.toapi.${api_version} 
--set-exit-code > /junit/golang.test.toapi.${api_version}.xml && find /junit 
-type 'f' | xargs chmod 664
        declare ${api_version}_exit_code=$?
 done
 
-cat /junit/golang.test.toapi.v{1..4}.xml
+cat /junit/golang.test.toapi.v{2..4}.xml
 
 
-if [[ $v1_exit_code -eq 0 && $v2_exit_code -eq 0 && $v3_exit_code -eq 0 && 
$v4_exit_code -eq 0 ]]; then
+if [[ $v2_exit_code -eq 0 && $v3_exit_code -eq 0 && $v4_exit_code -eq 0 ]]; 
then
        echo "TO API tests success"
 else
        echo "TO API tests failed"

Reply via email to