This is an automated email from the ASF dual-hosted git repository.

tokers pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git


The following commit(s) were added to refs/heads/master by this push:
     new fc9bd73  chore: customize the concurrency of e2e cases. (#172)
fc9bd73 is described below

commit fc9bd730661977108f5de05e5fd7c77cb3286375
Author: Alex Zhang <[email protected]>
AuthorDate: Tue Jan 12 17:26:56 2021 +0800

    chore: customize the concurrency of e2e cases. (#172)
---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index efd28c7..6915411 100644
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,7 @@ 
VERSYM="github.com/api7/ingress-controller/pkg/version._buildVersion"
 GITSHASYM="github.com/api7/ingress-controller/pkg/version._buildGitRevision"
 BUILDOSSYM="github.com/api7/ingress-controller/pkg/version._buildOS"
 GO_LDFLAGS ?= "-X=$(VERSYM)=$(VERSION) -X=$(GITSHASYM)=$(GITSHA) 
-X=$(BUILDOSSYM)=$(OSNAME)/$(OSARCH)"
+E2E_CONCURRENCY ?= 1
 
 ### build:            Build apisix-ingress-controller
 build:
@@ -60,7 +61,7 @@ e2e-test: build-image-to-minikube
        export 
APISIX_UPSTREAM_DEF=$(PWD)/samples/deploy/crd/v1beta1/ApisixUpstream.yaml && \
        export 
APISIX_SERVICE_DEF=$(PWD)/samples/deploy/crd/v1beta1/ApisixService.yaml && \
        export APISIX_TLS_DEF=$(PWD)/samples/deploy/crd/v1beta1/ApisixTls.yaml 
&& \
-       cd test/e2e && ginkgo -cover -coverprofile=coverage.txt -r 
--randomizeSuites --randomizeAllSpecs --trace -p --nodes=1
+       cd test/e2e && ginkgo -cover -coverprofile=coverage.txt -r 
--randomizeSuites --randomizeAllSpecs --trace -p --nodes=$(E2E_CONCURRENCY)
 
 # build images to minikube node directly, it's an internal directive, so don't
 # expose it's help message.

Reply via email to