From 210fedb5aa21684117f7deed9fd13d68f424fb9a Mon Sep 17 00:00:00 2001 From: Todd Short Date: Tue, 25 Jun 2024 13:37:37 -0400 Subject: [PATCH] Add -count=1 to e2e tests to avoid caching Signed-off-by: Todd Short --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fb69629f..c2af631b 100644 --- a/Makefile +++ b/Makefile @@ -118,7 +118,7 @@ test: manifests generate fmt vet test-unit test-e2e #HELP Run all tests. .PHONY: e2e e2e: #EXHELP Run the e2e tests. - go test -v ./test/e2e/... + go test -count=1 -v ./test/e2e/... E2E_REGISTRY_NAME := docker-registry E2E_REGISTRY_NAMESPACE := operator-controller-e2e @@ -129,7 +129,7 @@ export CATALOG_IMG := $(REGISTRY_ROOT)/test-catalog:e2e .PHONY: test-ext-dev-e2e test-ext-dev-e2e: $(OPERATOR_SDK) $(KUSTOMIZE) $(KIND) #HELP Run extension create, upgrade and delete tests. test/extension-developer-e2e/setup.sh $(OPERATOR_SDK) $(CONTAINER_RUNTIME) $(KUSTOMIZE) $(KIND) $(KIND_CLUSTER_NAME) $(E2E_REGISTRY_NAMESPACE) - go test -v ./test/extension-developer-e2e/... + go test -count=1 -v ./test/extension-developer-e2e/... .PHONY: test-unit ENVTEST_VERSION := $(shell go list -m k8s.io/client-go | cut -d" " -f2 | sed 's/^v0\.\([[:digit:]]\{1,\}\)\.[[:digit:]]\{1,\}$$/1.\1.x/')