You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test-infrastructure-no-race: $(SETUP_ENVTEST)## Run unit and integration tests with no race detector for docker infrastructure provider
951
+
# Note: Fuzz tests are not executed with race detector because they would just time out.
952
+
# To achieve that, all files with fuzz tests have the "!race" build tag, to still run fuzz tests
953
+
# we have an additional `go test` run that focuses on "TestFuzzyConversion".
954
+
cd test/infrastructure; KUBEBUILDER_ASSETS="$(KUBEBUILDER_ASSETS)" go test ./... $(TEST_ARGS)
955
+
949
956
.PHONY: test-infrastructure-conversions
950
957
test-infrastructure-conversions: $(SETUP_ENVTEST)## Run conversions test for docker infrastructure provider
951
958
cd test/infrastructure; KUBEBUILDER_ASSETS="$(KUBEBUILDER_ASSETS)" go test -run "^TestFuzzyConversion$$" ./... $(TEST_ARGS)
@@ -956,7 +963,7 @@ test-infrastructure-verbose: ## Run unit and integration tests with race detecto
956
963
957
964
.PHONY: test-infrastructure-junit
958
965
test-infrastructure-junit: $(SETUP_ENVTEST)$(GOTESTSUM)## Run unit and integration tests with race detector and generate a junit report for docker infrastructure provider
959
-
cd test/infrastructure;set +o errexit; (KUBEBUILDER_ASSETS="$(KUBEBUILDER_ASSETS)" go test -json ./... $(TEST_ARGS);echo$$?>$(ARTIFACTS)/junit.infra_docker.exitcode) | tee $(ARTIFACTS)/junit.infra_docker.stdout
966
+
cd test/infrastructure;set +o errexit; (KUBEBUILDER_ASSETS="$(KUBEBUILDER_ASSETS)" go test -race -json ./... $(TEST_ARGS);echo$$?>$(ARTIFACTS)/junit.infra_docker.exitcode) | tee $(ARTIFACTS)/junit.infra_docker.stdout
cd test/infrastructure;set +o errexit; (KUBEBUILDER_ASSETS="$(KUBEBUILDER_ASSETS)" go test -run "^TestFuzzyConversion$$" -json ./... $(TEST_ARGS);echo$$?>$(ARTIFACTS)/junit-fuzz.infra_docker.exitcode) | tee $(ARTIFACTS)/junit-fuzz.infra_docker.stdout
0 commit comments