Skip to content

Commit 79f5719

Browse files
author
Per Goncalves da Silva
committed
update ginkgo opts
Signed-off-by: Per Goncalves da Silva <[email protected]>
1 parent b8fb628 commit 79f5719

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,11 @@ E2E_TIMEOUT ?= 90m
247247
E2E_TEST_NS ?= operators
248248
E2E_INSTALL_NS ?= operator-lifecycle-manager
249249
E2E_CATALOG_NS ?= $(E2E_INSTALL_NS)
250-
GINKGO_OPTS += -v -randomize-suites -race -trace $(if $(E2E_FLAKE_ATTEMPTS),--flake-attempts='$(E2E_FLAKE_ATTEMPTS)') $(if $(E2E_SEED),-seed '$(E2E_SEED)') $(if $(TEST),-focus '$(TEST)',) $(if $(SKIP), -skip '$(SKIP)')
250+
E2E_GINKGO_OPTS := $(GINKGO_OPTS) -v -randomize-suites -race -trace $(if $(E2E_FLAKE_ATTEMPTS),--flake-attempts='$(E2E_FLAKE_ATTEMPTS)') $(if $(E2E_SEED),-seed '$(E2E_SEED)') $(if $(TEST),-focus '$(TEST)',) $(if $(SKIP), -skip '$(SKIP)')
251251

252252
.PHONY: e2e
253253
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))
254-
$(GO_TEST_ENV) $(GINKGO) -timeout $(E2E_TIMEOUT) $(GINKGO_OPTS) ./test/e2e -- -namespace=$(E2E_TEST_NS) -olmNamespace=$(E2E_INSTALL_NS) -catalogNamespace=$(E2E_CATALOG_NS) $(E2E_OPTS)
254+
$(GO_TEST_ENV) $(GINKGO) -timeout $(E2E_TIMEOUT) $(E2E_GINKGO_OPTS) ./test/e2e -- -namespace=$(E2E_TEST_NS) -olmNamespace=$(E2E_INSTALL_NS) -catalogNamespace=$(E2E_CATALOG_NS) $(E2E_OPTS)
255255

256256
.PHONY: e2e-local
257257
e2e-local: e2e-build kind-create deploy e2e

0 commit comments

Comments
 (0)