diff --git a/system-test/testnet-automation.sh b/system-test/testnet-automation.sh index a326fb06db..9f4cbc1929 100755 --- a/system-test/testnet-automation.sh +++ b/system-test/testnet-automation.sh @@ -41,8 +41,9 @@ $*" ) || echo "Error from packet loss analysis" execution_step "Deleting Testnet" - "${REPO_ROOT}"/net/"${CLOUD_PROVIDER}".sh delete -p "${TESTNET_TAG}" - + if test -f "${REPO_ROOT}"/net/"${CLOUD_PROVIDER}".sh; then + "${REPO_ROOT}"/net/"${CLOUD_PROVIDER}".sh delete -p "${TESTNET_TAG}" + fi } trap 'cleanup_testnet $BASH_COMMAND' EXIT @@ -98,6 +99,8 @@ function launch_testnet() { -p "$TESTNET_TAG" $maybePublicIpAddresses --dedicated \ ${ADDITIONAL_FLAGS[@]/#/" "} ;; + bare) + ;; *) echo "Error: Unsupported cloud provider: $CLOUD_PROVIDER" ;;