diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2016-04-14 12:59:42 -0700 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2016-04-14 13:13:25 -0700 |
commit | 969ffaf5c61aeec0c52a721d64b39528da233fd3 (patch) | |
tree | 43b99c43617edd23c2933a7f755e0b79f7bf00a7 /tools/run_tests | |
parent | f2ba7fe037b4e97d727ba38603364c464144e2e9 (diff) |
Enable JSON reports for qps drivers
Diffstat (limited to 'tools/run_tests')
-rwxr-xr-x | tools/run_tests/run_performance_tests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/run_tests/run_performance_tests.py b/tools/run_tests/run_performance_tests.py index b3729acd9f..b62a428747 100755 --- a/tools/run_tests/run_performance_tests.py +++ b/tools/run_tests/run_performance_tests.py @@ -98,6 +98,7 @@ def create_scenario_jobspec(scenario_json, workers, remote_host=None): # setting QPS_WORKERS env variable here makes sure it works with SSH too. cmd = 'QPS_WORKERS="%s" bins/opt/qps_json_driver ' % ','.join(workers) cmd += '--scenarios_json=%s' % pipes.quote(json.dumps({'scenarios': [scenario_json]})) + cmd += ' --scenario_result_file=scenario_result.json' if remote_host: user_at_host = '%s@%s' % (_REMOTE_HOST_USERNAME, remote_host) cmd = 'ssh %s "cd ~/performance_workspace/grpc/ && %s"' % (user_at_host, cmd) |