Merge pull request #21546 from yashykt/runtestsfix

Don't fail on upload_results_to_bq not being defined
pull/21557/head
Yash Tibrewal 5 years ago committed by GitHub
commit 268c6a5f80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      tools/run_tests/run_tests.py

@ -1931,8 +1931,12 @@ def _build_and_run(check_cancelled,
0], # args.language is a list but will always have one element when uploading to BQ is enabled.
'platform': platform_string()
}
try:
upload_results_to_bq(resultset, args.bq_result_table,
upload_extra_fields)
except NameError as e:
logging.warning(
e) # It's fine to ignore since this is not critical
if xml_report and resultset:
report_utils.render_junit_xml_report(
resultset,

Loading…
Cancel
Save