diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index c85d67835810891be48c13ce2ee93835e0fff726..a3bed4ef8793d7ec9f59b7e4e2dbae536eb5fd89 100755 --- a/tools/run_tests/run_tests.py +++ b/tools/run_tests/run_tests.py @@ -618,7 +618,7 @@ for l in languages: set(l.make_targets())) build_steps = list(set( - jobset.JobSpec(cmdline, environ={'CONFIG': cfg}) + jobset.JobSpec(cmdline, environ={'CONFIG': cfg}, flake_retries=5) for cfg in build_configs for l in languages for cmdline in l.pre_build_steps())) @@ -737,7 +737,7 @@ def _build_and_run( check_cancelled, newline_on_success, travis, cache, xml_report=None): """Do one pass of building & running tests.""" # build latest sequentially - if not jobset.run(build_steps, maxjobs=1, + if not jobset.run(build_steps, maxjobs=1, stop_on_failure=True, newline_on_success=newline_on_success, travis=travis): return 1