tests: delete k8s deployment at the test's end

At the end of k8s-kill-all-process-in-container.bats, delete the
deployment it created.

Fixes: #7752

Signed-off-by: Dan Mihai <dmihai@microsoft.com>
(cherry picked from commit 6a974679f2)
This commit is contained in:
Dan Mihai 2023-08-25 02:16:35 +00:00 committed by Fabiano Fidêncio
parent 3e07c89d39
commit e8c24fa0b9

View File

@ -31,5 +31,6 @@ setup() {
}
teardown() {
kubectl delete -f "${pod_config_dir}/pod-quota-deployment.yaml"
kubectl delete -f "${pod_config_dir}/resource-quota.yaml"
}