aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-10-31 14:04:03 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-10-31 14:04:03 -0700
commit77fbc1ca2a430e36a9bae80b2bd419d1a8b8e6c0 (patch)
tree27e263d1b690a95ba9e0dde8827db6025b5d3c7a /tools
parent6937c8f3628b8ccb8697ff8f18a6efe95ba0486a (diff)
Fix some typos
Diffstat (limited to 'tools')
-rwxr-xr-xtools/run_tests/performance/bq_upload_result.py2
-rw-r--r--tools/run_tests/performance/scenario_result_schema.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/run_tests/performance/bq_upload_result.py b/tools/run_tests/performance/bq_upload_result.py
index 5158b22c60..9b817b5896 100755
--- a/tools/run_tests/performance/bq_upload_result.py
+++ b/tools/run_tests/performance/bq_upload_result.py
@@ -120,7 +120,7 @@ def _flatten_result_inplace(scenario_result):
scenario_result['serverCores'] = json.dumps(scenario_result['serverCores'])
scenario_result['clientSuccess'] = json.dumps(scenario_result['clientSuccess'])
scenario_result['serverSuccess'] = json.dumps(scenario_result['serverSuccess'])
- scenario_result['requestResults'] = json.dumps(scenario_result['requestResults'])
+ scenario_result['requestResults'] = json.dumps(scenario_result.get('requestResults', []))
def _populate_metadata_inplace(scenario_result):
diff --git a/tools/run_tests/performance/scenario_result_schema.json b/tools/run_tests/performance/scenario_result_schema.json
index d32d979fe5..3285f212d7 100644
--- a/tools/run_tests/performance/scenario_result_schema.json
+++ b/tools/run_tests/performance/scenario_result_schema.json
@@ -210,7 +210,7 @@
"mode": "NULLABLE"
},
{
- "name": "request_results",
+ "name": "requestResults",
"type": "STRING",
"mode": "NULLABLE"
}