Skip to content

Commit c0a8514

Browse files
committed
Enable --flaky_test_attempts in release branch
1 parent 599084a commit c0a8514

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.bazelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,7 @@ try-import %workspace%/.bazelrc.user
684684
# Here are bazelrc configs for release builds
685685
# Build TensorFlow v2.
686686
test:release_base --test_size_filters=small,medium
687+
test:release_base --flaky_test_attempts=3
687688

688689
# Enable support for all targets
689690
build:release_base --config=cpu_cross

tensorflow/tools/ci_build/osx/arm64/.macos.bazelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ test --verbose_failures=true --local_test_jobs=HOST_CPUS --test_output=errors
2626
# Increase the test timeout as tests often take longer on mac.
2727
test --test_timeout=300,450,1200,3600
2828
test --test_size_filters=small,medium
29+
test --flaky_test_attempts=3
2930

3031
# Only build what is required to run the tests
3132
test --build_tests_only --keep_going

0 commit comments

Comments
 (0)