Skip to content

Commit

Permalink
test: add operator namespace variable for unit-test (opendatahub-io#1204
Browse files Browse the repository at this point in the history
)

Signed-off-by: Wen Zhou <[email protected]>
(cherry picked from commit 843e7e5)
  • Loading branch information
zdtsw authored and openshift-merge-bot[bot] committed Aug 30, 2024
1 parent d2ff7e5 commit dd0b17b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ test: unit-test e2e-test

.PHONY: unit-test
unit-test: envtest
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir $(LOCALBIN) -p path)" go test $(TEST_SRC) -v -coverprofile cover.out
OPERATOR_NAMESPACE=$(OPERATOR_NAMESPACE) KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir $(LOCALBIN) -p path)" go test $(TEST_SRC) -v -coverprofile cover.out
CLEANFILES += cover.out

.PHONY: e2e-test
Expand Down

0 comments on commit dd0b17b

Please sign in to comment.