From fc4502350702dea4d868dc487b5ef7a2d2c9e8ac Mon Sep 17 00:00:00 2001 From: Ryan Ohnemus Date: Mon, 22 Jan 2024 08:10:01 -0600 Subject: [PATCH] delete pods from the TEST_NAMESPACE in kubernetes-plugins (#131) Signed-off-by: ryanohnemus --- tests/kubernetes-plugins/full.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/kubernetes-plugins/full.bats b/tests/kubernetes-plugins/full.bats index a739f88..c00b0f5 100644 --- a/tests/kubernetes-plugins/full.bats +++ b/tests/kubernetes-plugins/full.bats @@ -70,7 +70,7 @@ setup() { teardown() { if [[ "${SKIP_TEARDOWN:-no}" != "yes" ]]; then if [[ ! -z "$TEST_POD_NAME" ]]; then - run kubectl delete pod $TEST_POD_NAME --grace-period 1 --wait + run kubectl delete pod $TEST_POD_NAME -n $TEST_NAMESPACE --grace-period 1 --wait fi fi }