diff --git a/Makefile b/Makefile index c6060085..afae3bb2 100644 --- a/Makefile +++ b/Makefile @@ -21,6 +21,8 @@ CONTAINER_TOOL ?= docker SHELL = /usr/bin/env bash -o pipefail .SHELLFLAGS = -ec +E2E_TIMEOUT ?= 5m + .PHONY: all all: build @@ -68,7 +70,7 @@ test: manifests generate fmt vet envtest ## Run tests. # Utilize Kind or modify the e2e tests to load the image locally, enabling compatibility with other vendors. .PHONY: test-e2e # Run the e2e tests against a Kind k8s instance that is spun up. test-e2e: - go test ./test/e2e/ -v -ginkgo.v -timeout 5m + go test ./test/e2e/ -v -ginkgo.v -timeout $(E2E_TIMEOUT) .PHONY: lint lint: golangci-lint ## Run golangci-lint linter