Merge pull request #15818 from matt-kwong/rbe_upload_fix

Fix test failure detection when doing RBE uploads
pull/15802/head
Matt Kwong 7 years ago committed by GitHub
commit 05628719f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tools/run_tests/python_utils/upload_rbe_results.py

@ -161,7 +161,7 @@ if __name__ == "__main__":
test_cases = action['testAction']['testSuite']['tests'][0][
'testSuite']['tests']
for test_case in test_cases:
if 'errors' in test_case['testCase']:
if any(s in test_case['testCase'] for s in ['errors', 'failures']):
result = 'FAILED'
elif 'timedOut' in test_case['testCase']:
result = 'TIMEOUT'

Loading…
Cancel
Save