X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Ftests.git;a=blobdiff_plain;f=robot-systest%2Frun_test.sh;h=b7bf29b856228473ccc313e138dbeec2d8e70322;hp=b4e638cdae5f60e15c9dfdeb31eb71cd092275cf;hb=HEAD;hpb=6eef5a62c976891bd580d52e0ead6cb9a959afc1 diff --git a/robot-systest/run_test.sh b/robot-systest/run_test.sh index b4e638c..11c3e45 100755 --- a/robot-systest/run_test.sh +++ b/robot-systest/run_test.sh @@ -44,7 +44,7 @@ create_k8scluster(){ while [ $attempts -ge 0 ] ; do echo -e "\n$( date '+%F_%H:%M:%S' ) Creating K8s Cluster" - osm k8scluster-add --creds ${K8S_CREDENTIALS} --version "v1" --vim ${VIM_TARGET} --k8s-nets "{\"net1\": \"${VIM_MGMT_NET}\"}" ${VIM_TARGET} --description "Robot cluster" + osm k8scluster-add --creds ${K8S_CREDENTIALS} --version "v1" --vim ${VIM_TARGET} --k8s-nets "{\"net1\": \"${VIM_MGMT_NET}\"}" ${VIM_TARGET} --description "Robot cluster" --skip-jujubundle STATUS="" i=0 @@ -104,6 +104,10 @@ create_vim(){ echo "VIM failed to enter ENABLED state" exit 1 fi +} + + +create_sdnc(){ if [ -n "${SDNC_URL}" ]; then osm sdnc-create --name sdnc-osm --type ${SDNC_TYPE} --user ${SDNC_USER} --password ${SDNC_PASSWORD} --url ${SDNC_URL} COUNTER=0 @@ -147,6 +151,7 @@ create_vim(){ fi fi fi + } @@ -169,6 +174,7 @@ while (( "$#" )); do ;; -c|--createvim) create_vim + # create_sdnc create_k8scluster shift 1 ;; @@ -228,7 +234,7 @@ if [ "$RUN_CONFORMANCE_TESTS" = true ] ; then fi if [[ -n "${TEST}" ]]; then - robot -d ${ROBOT_DEVOPS_FOLDER}/reports --tagstatinclude "cluster-*" -i ${TEST} ${ROBOT_DEVOPS_FOLDER}/testsuite/ + robot -d ${ROBOT_DEVOPS_FOLDER}/reports --tagstatinclude "cluster_*" -i ${TEST} ${ROBOT_DEVOPS_FOLDER}/testsuite/ else echo "No test was provided. Exiting..." fi