Skip to content

Commit 636312f

Browse files
a-bSamze
andauthored
Configure flake attempts to all integration tests (#3468)
Co-authored-by: Sam Gunaratne <[email protected]>
1 parent 2febad3 commit 636312f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/tests-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ jobs:
308308
secrets: inherit
309309

310310
run-integration-tests-cf-env-with-client-creds:
311-
name: client creds
311+
name: Client credentials
312312
needs:
313313
- get-sha
314314
- units

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ UNAME_S := $(shell uname -s)
2020
POLL_PROGRESS_THRESHOLD=120s
2121

2222
GINKGO_FLAGS ?= -r -randomize-all -require-suite
23-
GINKGO_INT_FLAGS = $(GINKGO_FLAGS) --poll-progress-after $(POLL_PROGRESS_THRESHOLD)
23+
GINKGO_INT_FLAGS = $(GINKGO_FLAGS) --poll-progress-after $(POLL_PROGRESS_THRESHOLD) -flake-attempts $(FLAKE_ATTEMPTS)
2424
ginkgo_int = ginkgo $(GINKGO_INT_FLAGS)
2525

2626
GINKGO_UNITS_FLAGS = $(GINKGO_FLAGS) -randomize-suites
@@ -139,9 +139,9 @@ integration-full-tests: integration-tests-full
139139
integration-tests-full: build integration-cleanup integration-isolated integration-push integration-experimental integration-plugin integration-global integration-selfcontained ## Run all isolated, push, experimental, plugin, selfcontained, and global integration tests
140140

141141
integration-tests-full-ci: install-test-deps integration-cleanup
142-
$(ginkgo_int) -nodes $(NODES) -flake-attempts $(FLAKE_ATTEMPTS) \
142+
$(ginkgo_int) -nodes $(NODES) \
143143
integration/shared/isolated integration/v7/isolated integration/shared/plugin integration/shared/experimental integration/v7/experimental integration/v7/push
144-
$(ginkgo_int) -flake-attempts $(FLAKE_ATTEMPTS) integration/shared/global integration/v7/global
144+
$(ginkgo_int) integration/shared/global integration/v7/global
145145

146146
lint: format ## Runs all linters and formatters
147147
@echo "Running linters..."

0 commit comments

Comments
 (0)