From 32e54a1b2988859fe57a7d43212a329de08f834e Mon Sep 17 00:00:00 2001 From: Alejandro Gullon Date: Wed, 2 Sep 2026 12:46:22 +0200 Subject: [PATCH] fix: use --wait=false for namespace deletion in RF teardowns The Remove Namespace keyword runs `oc delete namespace` during suite teardowns, blocking until all resources and finalizers are processed. On ARM with dual-stack, OVN reconciliation after a network config change saturates the CPU, causing namespace garbage collection to exceed the 5-minute RF process timeout. The killed `oc` returns rc=1, which cascades as a suite teardown failure and retroactively marks all passing tests as failed. Using --wait=false marks the namespace for deletion and returns immediately. The API server cleans up asynchronously, which is safe because test VMs are torn down after the suite completes. Co-Authored-By: Claude Opus 4.6 (1M context) pre-commit.check-secrets: ENABLED --- test/resources/kubeconfig.resource | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/resources/kubeconfig.resource b/test/resources/kubeconfig.resource index af77860d0d..64526a478a 100644 --- a/test/resources/kubeconfig.resource +++ b/test/resources/kubeconfig.resource @@ -94,4 +94,4 @@ Create Random Namespace Remove Namespace [Documentation] Removes the given namespace. [Arguments] ${ns} - Run With Kubeconfig oc delete namespace ${ns} + Run With Kubeconfig oc delete namespace ${ns} --wait=false