also upload className in upload_rbe_results.py

pull/22509/head
Jan Tattermusch 5 years ago
parent 5186b231b1
commit 6ad89b6369
  1. 5
      tools/run_tests/python_utils/upload_rbe_results.py

@ -37,6 +37,7 @@ _RESULTS_SCHEMA = [
('build_id', 'INTEGER', 'Build ID of Kokoro job'),
('build_url', 'STRING', 'URL of Kokoro build'),
('test_target', 'STRING', 'Bazel target path'),
('test_class_name', 'STRING', 'Name of test class'),
('test_case', 'STRING', 'Name of test case'),
('result', 'STRING', 'Test or build result'),
('timestamp', 'TIMESTAMP', 'Timestamp of test run'),
@ -241,6 +242,8 @@ if __name__ == "__main__":
% invocation_id,
'test_target':
action['id']['targetId'],
'test_class_name':
test_case['testCase'].get('className', ''),
'test_case':
test_case['testCase']['caseName'],
'result':
@ -266,6 +269,8 @@ if __name__ == "__main__":
% invocation_id,
'test_target':
action['id']['targetId'],
'test_class_name':
'N/A',
'test_case':
'N/A',
'result':

Loading…
Cancel
Save