tests: Stop trying to patch finalize

We have not seen instances of the nydus snapshotter hanging on its
deletion that we must patch its finalize.

Let's just drop this line for now.

Signed-Off-By: Adithya Krishnan Kannan <AdithyaKrishnan.Kannan@amd.com>
Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
Adithya Krishnan Kannan
2024-06-28 18:27:56 -05:00
parent ef3f6515cf
commit 9250858c3e

View File

@@ -556,7 +556,6 @@ function cleanup_nydus_snapshotter() {
fi
sleep 180s
kubectl_retry delete --ignore-not-found -f "misc/snapshotter/nydus-snapshotter-rbac.yaml"
kubectl_retry get namespace nydus-system -o json | jq 'del(.spec.finalizers)' | kubectl_retry replace --raw "/api/v1/namespaces/nydus-system/finalize" -f - || true
popd
sleep 30s
echo "::endgroup::"