This is an automated email from the ASF dual-hosted git repository.
gallardot 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 15ace1d3 chore: split run-e2e-test to separate action (#1959)
15ace1d3 is described below
commit 15ace1d3eb6ad2f07b6ba1329d90a0e35e045290
Author: Fucheng Jiang <[email protected]>
AuthorDate: Wed Sep 20 22:43:31 2023 +0800
chore: split run-e2e-test to separate action (#1959)
---
Makefile | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 16154c20..9e246842 100644
--- a/Makefile
+++ b/Makefile
@@ -135,14 +135,18 @@ lint:
unit-test:
go test -cover -coverprofile=coverage.txt ./...
-### e2e-test: Run e2e test cases (in existing clusters directly)
-.PHONY: e2e-test
-e2e-test: ginkgo-check pack-images e2e-wolf-rbac e2e-ldap install
install-gateway-api
+### run-e2e-test Run e2e test cases only
+.PHONY: run-e2e-test
+run-e2e-test:
cd test/e2e \
&& go mod download \
&& export REGISTRY=$(REGISTRY) \
&& APISIX_ADMIN_API_VERSION=$(APISIX_ADMIN_API_VERSION)
E2E_ENV=$(E2E_ENV) ACK_GINKGO_RC=true ginkgo -cover -coverprofile=coverage.txt
-r --randomize-all --randomize-suites --trace --nodes=$(E2E_NODES)
--focus=$(E2E_FOCUS) --flake-attempts=$(E2E_FLAKE_ATTEMPTS)
+### e2e-test: Run e2e test cases (in existing clusters directly)
+.PHONY: e2e-test
+e2e-test: ginkgo-check pack-images e2e-wolf-rbac e2e-ldap install
install-gateway-api run-e2e-test
+
### e2e-test-local: Run e2e test cases (kind is required)
.PHONY: e2e-test-local
e2e-test-local: kind-up e2e-test