--flaky_test_attempts=<positive integer, the string "default", or test_regex@attempts. This flag may be passed more than once>
Each test will be retried up to the specified number of times in case of
any test failure. Tests that required more than one attempt to pass are
marked as 'FLAKY' in the test summary. Normally the value specified is just
an integer or the string 'default'. If an integer, then all tests will be
run up to N times. If 'default', then only a single test attempt will be
made for regular tests and three for tests marked explicitly as flaky by
their rule (flaky=1 attribute). Alternate syntax:
regex_filter@flaky_test_attempts. Where flaky_test_attempts is as above and
regex_filter stands for a list of include and exclude regular expression
patterns (Also see --runs_per_test). Example: --flaky_test_attempts=//foo/.
*,-//foo/bar/.*@3 deflakes all tests in //foo/ except those under foo/bar
three times. This option can be passed multiple times. The most recently
passed argument that matches takes precedence. If nothing matches, behavior
is as if 'default' above.