From 5f17e61d11538c36fbf5fcd6dc98481e6c4b3aa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Wed, 9 Jul 2025 13:28:16 +0200 Subject: [PATCH] tests: kata-deploy: Remove --wait from helm uninstall MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As we're using a `kubectl wait --timeout ...` to check whether the kata-deploy pod's been deleted or not, let's remove the `--wait` from the `helm uninstall ...` call as k0s tests were failing because the `kubectl wait --timeout...` was starting after the pod was deleted, making the test fail. Signed-off-by: Fabiano FidĂȘncio --- tests/functional/kata-deploy/kata-deploy.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/kata-deploy/kata-deploy.bats b/tests/functional/kata-deploy/kata-deploy.bats index 6138275f0f..9c2c194d7c 100644 --- a/tests/functional/kata-deploy/kata-deploy.bats +++ b/tests/functional/kata-deploy/kata-deploy.bats @@ -91,7 +91,7 @@ setup() { teardown() { pushd "${repo_root_dir}" - helm uninstall --namespace=kube-system kata-deploy --wait + helm uninstall --namespace=kube-system kata-deploy kubectl -n kube-system wait --timeout=10m --for=delete -l name=kata-deploy pod popd