Skip to content

Commit

Permalink
Reduce timeout of the integ-test to prevent hanging test
Browse files Browse the repository at this point in the history
  • Loading branch information
burmanm committed Jun 28, 2024
1 parent 7c43c40 commit 29ab25c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ test: manifests generate fmt vet lint envtest ## Run tests.
integ-test: kustomize cert-manager helm ## Run integration tests from directory M_INTEG_DIR or set M_INTEG_DIR=all to run all the integration tests.
ifeq ($(M_INTEG_DIR), all)
# Run all the tests (exclude kustomize & testdata directories)
cd tests && go test -v ./... -timeout 300m --ginkgo.show-node-events --ginkgo.v
cd tests && go test -v ./... -timeout 20m --ginkgo.show-node-events --ginkgo.v
else
cd tests/${M_INTEG_DIR} && go test -v ./... -timeout 300m --ginkgo.show-node-events --ginkgo.v
cd tests/${M_INTEG_DIR} && go test -v ./... -timeout 20m --ginkgo.show-node-events --ginkgo.v
endif

.PHONY: version
Expand Down

0 comments on commit 29ab25c

Please sign in to comment.