From 61b1a4cb16e636dfbe4f8df2758d05ccf5b5eada Mon Sep 17 00:00:00 2001 From: Dario Tranchitella Date: Sat, 19 Nov 2022 13:04:29 +0100 Subject: [PATCH] fix(makefile): avoid race condition for local kind cluster --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c496a090..b2d08df0 100644 --- a/Makefile +++ b/Makefile @@ -226,7 +226,7 @@ e2e/%: ginkgo $(MAKE) e2e-build/$* && $(MAKE) e2e-exec || $(MAKE) e2e-destroy e2e-build/%: - kind create cluster --name capsule --image=kindest/node:$* + kind create cluster --wait=60s --name capsule --image=kindest/node:$* make docker-build kind load docker-image --nodes capsule-control-plane --name capsule $(IMG) helm upgrade \ @@ -247,4 +247,3 @@ e2e-exec: e2e-destroy: kind delete cluster --name capsule -