aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Matt Kwong <matt-kwong@users.noreply.github.com>2018-06-20 11:19:36 -0700
committerGravatar GitHub <noreply@github.com>2018-06-20 11:19:36 -0700
commit05628719f1c8d21969ddb700df05b4c63982b66a (patch)
tree0da611f25747bc3475c3c2606717fe9718796d68
parent5c25106ac9d1c4e17c734c44b7f0e3345a16c3a5 (diff)
parenta4fd2d183a24e931d6eca75d7f6046550b5c1bb9 (diff)
Merge pull request #15818 from matt-kwong/rbe_upload_fix
Fix test failure detection when doing RBE uploads
-rw-r--r--tools/run_tests/python_utils/upload_rbe_results.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/run_tests/python_utils/upload_rbe_results.py b/tools/run_tests/python_utils/upload_rbe_results.py
index 7236227f7c..cbeb1ad941 100644
--- a/tools/run_tests/python_utils/upload_rbe_results.py
+++ b/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'