diff --git a/tools/run_tests/python_utils/upload_test_results.py b/tools/run_tests/python_utils/upload_test_results.py index f04ef37e087..0ca23f56cf1 100644 --- a/tools/run_tests/python_utils/upload_test_results.py +++ b/tools/run_tests/python_utils/upload_test_results.py @@ -135,7 +135,7 @@ def upload_results_to_bq(resultset, bq_table, extra_fields): test_results['return_code'] = result.returncode test_results['test_name'] = shortname test_results['timestamp'] = time.strftime('%Y-%m-%d %H:%M:%S') - for field_name, field_value in extra_fields: + for field_name, field_value in six.iteritems(extra_fields): test_results[field_name] = field_value row = big_query_utils.make_row(str(uuid.uuid4()), test_results) bq_rows.append(row) diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index 60c35b7220d..ecb5e1d899e 100755 --- a/tools/run_tests/run_tests.py +++ b/tools/run_tests/run_tests.py @@ -1824,10 +1824,10 @@ def _build_and_run(check_cancelled, upload_extra_fields = { 'compiler': args.compiler, 'config': args.config, - 'iomgr_plaform': args.iomgr_platform, + 'iomgr_platform': args.iomgr_platform, 'language': args.language[ 0], # args.language is a list but will always have one element when uploading to BQ is enabled. - 'plaform': platform_string() + 'platform': platform_string() } upload_results_to_bq(resultset, args.bq_result_table, upload_extra_fields)