scale-test: Fix cluster deletion twice

This commit is contained in:
Ciprian Hacman 2024-01-07 11:01:13 +02:00
parent 6f049954dc
commit f3c4d96a51
1 changed files with 1 additions and 1 deletions

View File

@ -201,6 +201,6 @@ fi
if [[ "${DELETE_CLUSTER:-}" == "true" ]]; then if [[ "${DELETE_CLUSTER:-}" == "true" ]]; then
kubetest2 kops "${KUBETEST2_ARGS[@]}" --down
DELETE_CLUSTER=false # Don't delete again in trap DELETE_CLUSTER=false # Don't delete again in trap
kubetest2 kops "${KUBETEST2_ARGS[@]}" --down
fi fi