diff options
author | Craig Tiller <ctiller@google.com> | 2016-07-12 17:26:52 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-07-12 17:26:52 -0700 |
commit | 61e2040de0c71ce66cb15d6ad9ed6cf16b8d770d (patch) | |
tree | d7ada8742ed5bdddf2872ecb5c615fcd56dd36ad /test/cpp | |
parent | 72376da8ba85cefadd552d3213318f789a38d6ed (diff) |
Get json_run_localhost working again
Diffstat (limited to 'test/cpp')
-rwxr-xr-x | test/cpp/qps/gen_build_yaml.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/cpp/qps/gen_build_yaml.py b/test/cpp/qps/gen_build_yaml.py index e26d4323b3..9a58d666b5 100755 --- a/test/cpp/qps/gen_build_yaml.py +++ b/test/cpp/qps/gen_build_yaml.py @@ -46,7 +46,7 @@ import performance.scenario_config as scenario_config def _scenario_json_string(scenario_json): # tweak parameters to get fast test times scenario_json['warmup_seconds'] = 1 - scenario_json['benchmark_seconds'] = 10 + scenario_json['benchmark_seconds'] = 1 scenarios_json = {'scenarios': [scenario_config.remove_nonproto_fields(scenario_json)]} return json.dumps(scenarios_json) @@ -73,8 +73,7 @@ print yaml.dump({ { 'name': 'json_run_localhost', 'shortname': 'json_run_localhost:%s' % scenario_json['name'], - 'args': ['--scenarios_json', - pipes.quote(_scenario_json_string(scenario_json))], + 'args': ['--scenarios_json', _scenario_json_string(scenario_json)], 'ci_platforms': ['linux', 'mac', 'posix', 'windows'], 'platforms': ['linux', 'mac', 'posix', 'windows'], 'flaky': False, |