Skip to content

Commit 5c22876

Browse files
committed
test: use pinned kind binary for e2e
1 parent 6315cbf commit 5c22876

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ test: manifests generate fmt vet envtest ## Run tests.
139139

140140
# Utilize Kind or modify the e2e tests to load the image locally, enabling compatibility with other vendors.
141141
.PHONY: test-e2e # Run the e2e tests against a Kind k8s instance that is spun up.
142-
test-e2e:
143-
USE_EXISTING_CLUSTER=true go test ./test/e2e/ -v -ginkgo.v
142+
test-e2e: $(KIND)
143+
PATH="$(LOCALBIN):$$PATH" USE_EXISTING_CLUSTER=true go test ./test/e2e/ -v -ginkgo.v
144144

145145
.PHONY: kind
146146
kind: $(KIND) ## Create a Kind cluster.

0 commit comments

Comments
 (0)