bindings: allow running the tests in parallel

Gate -p on GINKGO_PARALLEL the same way ginkgo-run does, so the suite
can be put back to serial with GINKGO_PARALLEL=n like pkg/machine/e2e
already does.

Part of #18540.

Signed-off-by: Tushar Verma <tusharmyself06@gmail.com>
This commit is contained in:
Tushar Verma 2026-08-25 21:55:12 +05:30
parent a6c9e0954f
commit 77e8fdb783

View file

@ -727,7 +727,8 @@ ginkgo-remote:
# bindings tests need access to podman-registry
testbindings: PATH := $(PATH):$(CURDIR)/hack
testbindings: .install.ginkgo
$(GINKGO) -v $(TESTFLAGS) --tags "$(TAGS) remote" $(GINKGOTIMEOUT) --trace --no-color --timeout 30m -v -r ./pkg/bindings/test
$(GINKGO) -v $(TESTFLAGS) --tags "$(TAGS) remote" $(GINKGOTIMEOUT) --trace --no-color --timeout 30m \
$(if $(findstring y,$(GINKGO_PARALLEL)),-p,) -r ./pkg/bindings/test
.PHONY: localintegration
localintegration: test-binaries ginkgo ## Run integration tests locally (test/e2e/)