Skip to content

Commit 5d32045

Browse files
perdasilvaPer Goncalves da Silva
and
Per Goncalves da Silva
authored
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]>
1 parent 63a2293 commit 5d32045

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Makefile

+1-2
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,7 @@ E2E_TIMEOUT ?= 90m
247247
E2E_TEST_NS ?= operators
248248
E2E_INSTALL_NS ?= operator-lifecycle-manager
249249
E2E_CATALOG_NS ?= $(E2E_INSTALL_NS)
250-
E2E_FLAKE_ATTEMPTS ?= 1
251-
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)')
250+
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)')
252251

253252
.PHONY: e2e
254253
e2e: #HELP Run e2e tests against a cluster running OLM (params: $E2E_TEST_NS (operator), $E2E_INSTALL_NS (operator-lifecycle-manager), $E2E_CATALOG_NS (operator-lifecycle-manager), $E2E_TIMEOUT (90m), $E2E_FLAKE_ATTEMPTS (1), $TEST(undefined))

0 commit comments

Comments
 (0)