X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=rec.git;a=blobdiff_plain;f=workflows%2Frobot_test_ric.sh;fp=workflows%2Frobot_test_ric.sh;h=fff75eb5079e9ce009e89d95f078001588a022f3;hp=d16e8a3ec1ba98d692fe09dc366ab1107fd14737;hb=9bc4b7ed01d2035bf8fb07e72b2ad4bd140bb9da;hpb=bf43e353b3a57356c6ae0186e6af148897fa73a4 diff --git a/workflows/robot_test_ric.sh b/workflows/robot_test_ric.sh index d16e8a3..fff75eb 100755 --- a/workflows/robot_test_ric.sh +++ b/workflows/robot_test_ric.sh @@ -55,8 +55,11 @@ kubectl exec -n ricplatform -it $ric_robot_pod -- sed -i '17,19 s/^/#/' /var/opt #---------show the test cases------------------------------ cd /home/cloudadmin/RIC/test/ric_robot_suite/helm/ric-robot/ bash ete-k8s.sh ricplatform health +#--------------kill helm--------------------------------------------------------------------- +pkill helm #----------checking the status of the pods------------------ command="$(kubectl get po --no-headers --namespace=ricplatform --field-selector status.phase!=Running 2> /dev/null)" if [[ $command != "" ]]; then exit 1 fi +