aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.bazelrc1
-rw-r--r--pom.xml1
2 files changed, 2 insertions, 0 deletions
diff --git a/.bazelrc b/.bazelrc
index 8c32661215..e6c3dc6abf 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -30,6 +30,7 @@ build:remote17 --tool_java_runtime_version=remotejdk_17
test --build_tests_only
test --test_output=errors
+test --flaky_test_attempts=3
import %workspace%/tools/remote-bazelrc
diff --git a/pom.xml b/pom.xml
index 0ea089eab3..4ed91ffc46 100644
--- a/pom.xml
+++ b/pom.xml
@@ -282,6 +282,7 @@
<forkCount>${test-fork-count}</forkCount>
<reuseForks>true</reuseForks>
<argLine>@{argLine}</argLine>
+ <rerunFailingTestsCount>3</rerunFailingTestsCount>
</configuration>
</plugin>