X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=robot-systest%2Frun_test.sh;h=d4d5e975a6dfde01d5e2ce1f68975b7702e6c642;hb=4a94affec35c3d9624c1c1574036d8b02bcbc8e7;hp=038ea03698ac607a5ccd9a8ad513a23925915c07;hpb=236f52ace869844ccc4568a8ff8b677f6eb9c537;p=osm%2Ftests.git diff --git a/robot-systest/run_test.sh b/robot-systest/run_test.sh index 038ea03..d4d5e97 100755 --- a/robot-systest/run_test.sh +++ b/robot-systest/run_test.sh @@ -67,7 +67,7 @@ create_k8scluster(){ ((attempts--)) done if [ $attempts -lt 0 ] ; then - echo "VIM failed to enter ENABLED state" + echo "K8s cluster failed to enter ENABLED state" exit 1 fi } @@ -227,17 +227,10 @@ if [ "$RUN_CONFORMANCE_TESTS" = true ] ; then python3 ${ROBOT_DEVOPS_FOLDER}/conformance-tests/run_conformance_tests.py fi -if [[ -z "${TEST}" ]]; then - printf "Test not provided. \nRunning default test: sanity\n" - TEST="sanity" -fi - if [[ -n "${TEST}" ]]; then robot -d ${ROBOT_DEVOPS_FOLDER}/reports -i ${TEST} ${ROBOT_DEVOPS_FOLDER}/testsuite/ - exit 0 else - echo "Wrong test provided" - exit 1 + echo "No test was provided. Exiting..." fi -exit 1 +exit 0