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]>
  • Loading branch information
zdtsw authored Aug 26, 2024
1 parent 778ca99 commit 843e7e5
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 @@ -362,7 +362,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 843e7e5

Please sign in to comment.