Skip to content

Commit

Permalink
fix: dynamic e2e test timeout for slower local testing
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Plant <[email protected]>
  • Loading branch information
pl4nty committed Oct 13, 2024
1 parent 9a2ab24 commit fb68395
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ CONTAINER_TOOL ?= docker
SHELL = /usr/bin/env bash -o pipefail
.SHELLFLAGS = -ec

E2E_TIMEOUT ?= 5m

.PHONY: all
all: build

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit fb68395

Please sign in to comment.