Skip to content

Commit e76f9db

Browse files
perdasilvaPer Goncalves da Silva
andcommitted
make flake attempts an optional parameter (#3330)
Signed-off-by: Per Goncalves da Silva <[email protected]> Co-authored-by: Per Goncalves da Silva <[email protected]> Upstream-repository: operator-lifecycle-manager Upstream-commit: 5d32045dbe4f65526264f6115bff748d340a7cab
1 parent f4eac42 commit e76f9db

File tree

1 file changed

+2
-14
lines changed
  • staging/operator-lifecycle-manager

1 file changed

+2
-14
lines changed

staging/operator-lifecycle-manager/Makefile

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -136,21 +136,12 @@ E2E_TIMEOUT ?= 90m
136136
E2E_TEST_NS ?= operators
137137
E2E_INSTALL_NS ?= operator-lifecycle-manager
138138
E2E_CATALOG_NS ?= $(E2E_INSTALL_NS)
139-
E2E_FLAKE_ATTEMPTS ?= 1
140-
GINKGO_OPTS += -v -randomize-suites -race -trace --show-node-events --flake-attempts=$(E2E_FLAKE_ATTEMPTS) $(if $(E2E_SEED),-seed '$(E2E_SEED)') $(if $(TEST),-focus '$(TEST)',) $(if $(SKIP), -skip '$(SKIP)')
139+
GINKGO_OPTS += -v -randomize-suites -race -trace --show-node-events $(if $(E2E_FLAKE_ATTEMPTS),--flake-attempts='$(E2E_FLAKE_ATTEMPTS)') $(if $(E2E_SEED),-seed '$(E2E_SEED)') $(if $(TEST),-focus '$(TEST)',) $(if $(SKIP), -skip '$(SKIP)')
141140
e2e:
142141
$(GINKGO) -timeout $(E2E_TIMEOUT) $(GINKGO_OPTS) ./test/e2e -- -namespace=$(E2E_TEST_NS) -olmNamespace=$(E2E_INSTALL_NS) -catalogNamespace=$(E2E_CATALOG_NS) $(E2E_OPTS)
143142

144143
.PHONY: e2e-local
145-
e2e-local: e2e-build kind-create deploy e2e
146-
147-
# See workflows/e2e-tests.yml See test/e2e/README.md for details.
148-
.PHONY: e2e-local
149-
e2e-local: BUILD_TAGS="json1 e2e experimental_metrics"
150-
e2e-local: extra_args=-kind.images=../test/e2e-local.image.tar -test-data-dir=../test/e2e/testdata -gather-artifacts-script-path=../test/e2e/collect-ci-artifacts.sh
151-
e2e-local: run=bin/e2e-local.test
152-
e2e-local: bin/e2e-local.test test/e2e-local.image.tar
153-
e2e-local: e2e
144+
e2e-local: e2e-build deploy e2e
154145

155146
# this target updates the zz_chart.go file with files found in deploy/chart
156147
# this will always fire since it has been marked as phony
@@ -183,9 +174,6 @@ e2e-build: e2e.Dockerfile bin/wait bin/cpb $(CMDS)
183174
docker build -t quay.io/operator-framework/olm:local -f $< bin
184175
docker save -o $@ quay.io/operator-framework/olm:local
185176

186-
e2e-bare: setup-bare
187-
. ./scripts/run_e2e_bare.sh $(TEST)
188-
189177
e2e-local-docker:
190178
. ./scripts/build_local.sh
191179
. ./scripts/run_e2e_docker.sh $(TEST)

0 commit comments

Comments
 (0)