Skip to content

Commit cb64efb

Browse files
committed
Test e2e test cases with 1 attempt only
To identify flaky tests Signed-off-by: Vu Dinh <[email protected]>
1 parent 584e12a commit cb64efb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ setup-bare: clean e2e.namespace
119119
. ./scripts/package_release.sh 1.0.0 test/e2e/resources test/e2e/e2e-bare-values.yaml
120120
. ./scripts/install_bare.sh $(shell cat ./e2e.namespace) test/e2e/resources
121121

122-
GINKGO_OPTS := -flakeAttempts 3 -randomizeAllSpecs -v --timeout 120m
122+
GINKGO_OPTS := -flakeAttempts 1 -randomizeAllSpecs -v --timeout 120m
123123

124124
# TODO(tflannag): Remove this target entirely and move downstream
125125
e2e:
@@ -141,7 +141,7 @@ FORCE:
141141
# main entry point for running end to end tests. used by .github/workflows/e2e-tests.yml See test/e2e/README.md for details
142142
.PHONY: e2e-local
143143
e2e-local: bin/e2e-local.test test/e2e-local.image.tar
144-
$(GINKGO) -nodes $(or $(NODES),1) -flakeAttempts 3 -randomizeAllSpecs $(if $(TEST),-focus '$(TEST)') -v -timeout 90m $< -- -namespace=operators -olmNamespace=operator-lifecycle-manager -dummyImage=bitnami/nginx:latest -kind.images=../test/e2e-local.image.tar
144+
$(GINKGO) -nodes $(or $(NODES),1) -randomizeAllSpecs $(if $(TEST),-focus '$(TEST)') -v -timeout 90m $< -- -namespace=operators -olmNamespace=operator-lifecycle-manager -dummyImage=bitnami/nginx:latest -kind.images=../test/e2e-local.image.tar
145145

146146
# this target updates the zz_chart.go file with files found in deploy/chart
147147
# this will always fire since it has been marked as phony

0 commit comments

Comments
 (0)