From c4e51d853c5e587937ac93103c3806476fa90240 Mon Sep 17 00:00:00 2001 From: Alejandro Saucedo Date: Mon, 8 Aug 2022 14:34:10 +0100 Subject: [PATCH] Added fix for clashing zombie webhook (#4265) --- testing/scripts/test_operator_updates.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testing/scripts/test_operator_updates.py b/testing/scripts/test_operator_updates.py index 0f66012872..a9b8b5039d 100644 --- a/testing/scripts/test_operator_updates.py +++ b/testing/scripts/test_operator_updates.py @@ -72,6 +72,9 @@ def _install_namespace_scoped(): assert_model_during_op(_install_namespace_scoped, "mymodel", namespace) + # Delete all resources (webhooks, etc.) before deleting namespace + retry_run(f"helm delete seldon --namespace {namespace}") + @pytest.mark.sequential @pytest.mark.parametrize("seldon_version", SELDON_VERSIONS_TO_TEST, indirect=True)