Add --retry_failed=3 flag to gtest-parallel.
This means the test will be executed 4 times max, one run and three retries. BUG=chromium:718339 Review-Url: https://codereview.webrtc.org/2861043002 Cr-Commit-Position: refs/heads/master@{#18028}
This commit is contained in:
parent
3568d8d4d4
commit
2a28035627
@ -1102,6 +1102,7 @@ class MetaBuildWrapper(object):
|
||||
# so it can exit cleanly and report results, instead of being
|
||||
# interrupted by swarming and not reporting anything.
|
||||
'--timeout=900',
|
||||
'--retry_failed=3',
|
||||
]
|
||||
|
||||
asan = 'is_asan=true' in vals['gn_args']
|
||||
|
||||
@ -451,6 +451,7 @@ class UnitTest(unittest.TestCase):
|
||||
'--output_dir=${ISOLATED_OUTDIR}/test_logs',
|
||||
'--gtest_color=no',
|
||||
'--timeout=900',
|
||||
'--retry_failed=3',
|
||||
'./base_unittests',
|
||||
'--workers=1',
|
||||
'--',
|
||||
@ -498,6 +499,7 @@ class UnitTest(unittest.TestCase):
|
||||
'--output_dir=${ISOLATED_OUTDIR}/test_logs',
|
||||
'--gtest_color=no',
|
||||
'--timeout=900',
|
||||
'--retry_failed=3',
|
||||
'./base_unittests',
|
||||
'--',
|
||||
'--asan=0',
|
||||
@ -545,6 +547,7 @@ class UnitTest(unittest.TestCase):
|
||||
'--output_dir=${ISOLATED_OUTDIR}\\test_logs',
|
||||
'--gtest_color=no',
|
||||
'--timeout=900',
|
||||
'--retry_failed=3',
|
||||
r'.\unittests.exe',
|
||||
'--',
|
||||
'--asan=0',
|
||||
@ -588,6 +591,7 @@ class UnitTest(unittest.TestCase):
|
||||
'--output_dir=${ISOLATED_OUTDIR}/test_logs',
|
||||
'--gtest_color=no',
|
||||
'--timeout=900',
|
||||
'--retry_failed=3',
|
||||
'./base_unittests',
|
||||
'--',
|
||||
'--asan=0',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user