((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
}
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