Skip to content

Commit

Permalink
[envtest]Run test in random order
Browse files Browse the repository at this point in the history
Now that the test global variable handling is improved the test can run
in any order.
  • Loading branch information
gibizer committed Sep 18, 2023
1 parent bec6a7b commit 916961a
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 @@ -107,8 +107,7 @@ vet: gowork ## Run go vet against code.

.PHONY: test
test: manifests generate gowork fmt vet envtest ginkgo ## Run tests.
# TODO(gibi): enable --randomize-all and fix test failures
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) -v debug --bin-dir $(LOCALBIN) use $(ENVTEST_K8S_VERSION) -p path)" $(GINKGO) --trace --cover --coverpkg=../../pkg/placement,../../controllers,../../api/v1beta1 --coverprofile cover.out --covermode=atomic ${PROC_CMD} $(GINKGO_ARGS) ./tests/...
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) -v debug --bin-dir $(LOCALBIN) use $(ENVTEST_K8S_VERSION) -p path)" $(GINKGO) --trace --cover --coverpkg=../../pkg/placement,../../controllers,../../api/v1beta1 --coverprofile cover.out --covermode=atomic --randomize-all $(GINKGO_ARGS) ./tests/...

##@ Build

Expand Down

0 comments on commit 916961a

Please sign in to comment.