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
* Adds TEST_FILTER env var to e2e run
Signed-off-by: Brett Tofel <[email protected]>
* Rewrite metrics endpoint test to use client-go
test/utils.go deleted because no used funcs
Signed-off-by: Brett Tofel <[email protected]>
* Rm pointer helpers, use k8s ones.
Signed-off-by: Brett Tofel <[email protected]>
* Rename main test client to globalClient (de-shadow "c")
Signed-off-by: Brett Tofel <[email protected]>
* Use apierrors, move deferred cleanup, less nesting
Signed-off-by: Brett Tofel <[email protected]>
* Rename main test cfg->globalConfig de-shadow "cfg"
Signed-off-by: Brett Tofel <[email protected]>
* Allow test-unit filter on package and test
Have to have package filter too, to not run all the unit tests due to UNIT_TEST_DIRS
Signed-off-by: Brett Tofel <[email protected]>
* Drop UNIT_TEST_DIRS for TEST_PKGS + TEST_FILTER
Signed-off-by: Brett Tofel <[email protected]>
* Remove ENVTEST_VERSION dupe in Makefile
Signed-off-by: Brett Tofel <[email protected]>
---------
Signed-off-by: Brett Tofel <[email protected]>
go test -count=1 -v ./test/extension-developer-e2e/...
210
210
211
-
UNIT_TEST_DIRS := $(shell go list ./... | grep -v /test/)
211
+
# Define TEST_PKGS to be either user-specified or a default set of packages:
212
+
ifeq ($(origin TEST_PKGS), undefined)
213
+
TEST_PKGS := $(shell go list ./... | grep -v /test/)
214
+
endif
212
215
COVERAGE_UNIT_DIR := $(ROOT_DIR)/coverage/unit
213
216
214
217
.PHONY: envtest-k8s-bins #HELP Uses setup-envtest to download and install the binaries required to run ENVTEST-test based locally at the project/bin directory.
@@ -224,7 +227,8 @@ test-unit: $(SETUP_ENVTEST) envtest-k8s-bins #HELP Run the unit tests
0 commit comments