Skip to content

Commit

Permalink
Merge pull request #97 from frobware/drop-call-to-go-clean-testcache
Browse files Browse the repository at this point in the history
Makefile: Disable test caching by using go test -count=1
  • Loading branch information
anfredette authored Aug 13, 2024
2 parents 81c92b2 + f6c608e commit 6d7f517
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -286,12 +286,11 @@ test: fmt envtest ## Run Unit tests.

.PHONY: test-integration
test-integration: ## Run Integration tests.
go clean -testcache
cd config/bpfman-deployment && \
$(SED) -e 's@bpfman\.image=.*@bpfman.image=$(BPFMAN_IMG)@' \
-e 's@bpfman\.agent\.image=.*@bpfman.agent.image=$(BPFMAN_AGENT_IMG)@' \
kustomization.yaml.env > kustomization.yaml
GOFLAGS="-tags=integration_tests" go test -race -v ./test/integration/...
GOFLAGS="-tags=integration_tests" go test -count=1 -race -v ./test/integration/...

## The physical bundle is no longer tracked in git since it should be considered
## and treated as a release artifact, rather than something that's updated
Expand Down

0 comments on commit 6d7f517

Please sign in to comment.