Skip to content

Commit 2a7fe93

Browse files
committed
Disable parallel e2e-local runs by default.
Relying on Ginkgo's -p heuristic is confusing, so parallel runs are now opt-in via NODES.
1 parent a6f90c9 commit 2a7fe93

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v2
12-
- run: make -f x.mk e2e-local
12+
- run: make -f x.mk e2e-local NODES=2

x.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ bin/e2e-local.image.tar: e2e.Dockerfile bin/wait bin/cpb $(CMDS)
2828

2929
.PHONY: e2e-local
3030
e2e-local: bin/e2e-local.test bin/e2e-local.image.tar
31-
$(GINKGO) -p -randomizeAllSpecs $(if $(TEST),-focus "$(TEST)") -v -timeout 70m $< -- -namespace=operators -olmNamespace=operator-lifecycle-manager -dummyImage=bitnami/nginx:latest -kind.images=e2e-local.image.tar
31+
$(GINKGO) -nodes $(or $(NODES),1) -randomizeAllSpecs $(if $(TEST),-focus "$(TEST)") -v -timeout 70m $< -- -namespace=operators -olmNamespace=operator-lifecycle-manager -dummyImage=bitnami/nginx:latest -kind.images=e2e-local.image.tar
3232

3333
# Phony prerequisite for targets that rely on the go build cache to
3434
# determine staleness.

0 commit comments

Comments
 (0)