aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlearning-to-play <66660475+learning-to-play@users.noreply.github.com>2024-02-20 13:43:16 -0800
committerGitHub <noreply@github.com>2024-02-20 16:43:16 -0500
commit70108028c9123bb591a147847397c4ac64770a65 (patch)
tree15c0108af599f0001bb4ca02f9b2fe04c63109cf
parent03d0e0ba0db0bc79cea7a68f1036efa281c5379a (diff)
downloadtensorflow-70108028c9123bb591a147847397c4ac64770a65.tar.gz
Enable flaky test flag for TF 2.16 release. (#63005)
Reenabling flaky flag for rc and releases due to a small number of flakes in the current testing
-rw-r--r--.bazelrc1
-rw-r--r--tensorflow/tools/ci_build/osx/arm64/.macos.bazelrc1
2 files changed, 2 insertions, 0 deletions
diff --git a/.bazelrc b/.bazelrc
index 15f6d50e860..315669e7930 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -593,6 +593,7 @@ try-import %workspace%/.bazelrc.user
# Here are bazelrc configs for release builds
# Build TensorFlow v2.
test:release_base --test_size_filters=small,medium
+test:release_base --flaky_test_attempts=3
# Target the AVX instruction set
build:release_linux_base --config=avx_linux
diff --git a/tensorflow/tools/ci_build/osx/arm64/.macos.bazelrc b/tensorflow/tools/ci_build/osx/arm64/.macos.bazelrc
index 11e64b54f97..6238fd95bde 100644
--- a/tensorflow/tools/ci_build/osx/arm64/.macos.bazelrc
+++ b/tensorflow/tools/ci_build/osx/arm64/.macos.bazelrc
@@ -26,6 +26,7 @@ test --verbose_failures=true --local_test_jobs=HOST_CPUS --test_output=errors
# Increase the test timeout as tests often take longer on mac.
test --test_timeout=300,450,1200,3600
test --test_size_filters=small,medium
+test --flaky_test_attempts=3
# Only build what is required to run the tests
test --build_tests_only --keep_going