e2e-test: Don't run unit tests
When e2e tests are run units tests are run again unnecessarily. To cease
this specify the particular destination directory `test/...`.
@@ -88,12 +88,12 @@ endif
.PHONY: run-e2e-tests
run-e2e-tests:
- KUBECONFIG=${kubeconfig} go test -mod=$(MOD) -tags="$(platform),e2e" -covermode=atomic -buildmode=exe -v ./...
+ KUBECONFIG=${kubeconfig} go test -mod=$(MOD) -tags="$(platform),e2e" -covermode=atomic -buildmode=exe -v ./test/...
# Test if the metrics are actually being scraped
- KUBECONFIG=${kubeconfig} go test -mod=$(MOD) -tags="$(platform),poste2e" -covermode=atomic -buildmode=exe -v ./...
+ KUBECONFIG=${kubeconfig} go test -mod=$(MOD) -tags="$(platform),poste2e" -covermode=atomic -buildmode=exe -v ./test/...
# This is a test that should be run in the end to reduce the disruption to other tests because
# it will delete a node.
- KUBECONFIG=${kubeconfig} go test -mod=$(MOD) -tags="$(platform),disruptivee2e" -covermode=atomic -buildmode=exe -v ./...
+ KUBECONFIG=${kubeconfig} go test -mod=$(MOD) -tags="$(platform),disruptivee2e" -covermode=atomic -buildmode=exe -v ./test/...
.PHONY: all
all: build test
