File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,11 @@ def create_ns(
6060 """
6161 Create namespace with admin or unprivileged client.
6262
63+ For a namespace / project which contains Serverless ISVC, there is a workaround for RHOAIENG-19969.
64+ Currently, when Serverless ISVC is deleted and the namespace is deleted, namespace "SomeResourcesRemain" is True.
65+ This is because the serverless pods are not immediately deleted resulting in prolonged namespace deletion.
66+ Waiting for the pod(s) to be deleted before cleanup, eliminates the issue.
67+
6368 Args:
6469 name (str): namespace name.
6570 Can be overwritten by `request.param["name"]`
@@ -704,11 +709,7 @@ def get_operator_distribution(client: DynamicClient, dsc_name: str = "default-ds
704709
705710def wait_for_serverless_pods_deletion (resource : Project | Namespace , admin_client : DynamicClient | None ) -> None :
706711 """
707- Wait for serverless pods deletion before namespace deletion.
708-
709- This is a workaround for RHOAIENG-19969.
710- Currently, when Serverless ISVC is deleted and the namespace is deleted, namespace "SomeResourcesRemain" is True.
711- This is because the serverless pods are not immediately deleted resulting in prolonged namespace deletion.
712+ Wait for serverless pods deletion.
712713
713714 Args:
714715 resource (Project | Namespace): project or namespace
You can’t perform that action at this time.
0 commit comments