Skip to content

Commit 48ac211

Browse files
committed
build: set flaky_test_attempts to 2 for E2E tests
By default Bazel, a single test attempt will be made for regular tests and three for tests marked explicitly as flaky by their rule (flaky=1 attribute) This configures e2e tests to retry the test when it fails.
1 parent 6d89c18 commit 48ac211

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.bazelrc

+3
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ build:e2e --workspace_status_command="yarn -s ng-dev release build-env-stamp --m
9494
build:e2e --stamp
9595
test:e2e --test_timeout=3600 --experimental_ui_max_stdouterr_bytes=2097152
9696

97+
# Retry in the event of flakes
98+
test:e2e --flaky_test_attempts=2
99+
97100
build:local --//:enable_package_json_tar_deps
98101

99102
###############################

0 commit comments

Comments
 (0)