sometimes not all RBE results are uploaded

pull/22359/head
Jan Tattermusch 5 years ago
parent e20ed51e6f
commit fea074384f
  1. 5
      tools/run_tests/python_utils/upload_rbe_results.py

@ -216,8 +216,9 @@ if __name__ == "__main__":
elif 'tests' not in action['testAction']['testSuite']:
continue
else:
test_cases = action['testAction']['testSuite']['tests'][0][
'testSuite']['tests']
test_cases = []
for tests_item in action['testAction']['testSuite']['tests']:
test_cases += tests_item['testSuite']['tests']
for test_case in test_cases:
if any(s in test_case['testCase'] for s in ['errors', 'failures']):
result = 'FAILED'

Loading…
Cancel
Save