From 6295f4a8a3996d6928bc23b39333ed527a2237f8 Mon Sep 17 00:00:00 2001 From: Ryota Arai Date: Tue, 27 May 2025 00:34:45 +0000 Subject: [PATCH] Fix e2e script to ensure hnc-controller-manager deployment is available before running tests --- hack/local-run-e2e.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/hack/local-run-e2e.sh b/hack/local-run-e2e.sh index bc6c007e0..6b72cdf5d 100755 --- a/hack/local-run-e2e.sh +++ b/hack/local-run-e2e.sh @@ -91,6 +91,7 @@ if [ "${PFNET_MODE}" = true ]; then kubectl -n hnc-system wait --for=condition=available deployment/hnc-controller-manager --timeout=5m ginkgo run -p --label-filter pfnet ./test/e2e/... else + kubectl -n hnc-system wait --for=condition=available deployment/hnc-controller-manager --timeout=5m go clean -testcache if [ -z "${HNC_FOCUS+x}" ]; then echo "Running all e2e tests..."