Skip to content

Commit

Permalink
Merge pull request grpc#6462 from jtattermusch/benchmarking_unify_sce…
Browse files Browse the repository at this point in the history
…narios

Improve benchmarking scenarios and enable "smoketest only" suite.
  • Loading branch information
jtattermusch committed May 9, 2016
2 parents dcd8d7c + abd1b38 commit 92a9156
Show file tree
Hide file tree
Showing 4 changed files with 465 additions and 553 deletions.
10 changes: 7 additions & 3 deletions test/cpp/qps/gen_build_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,16 @@

import performance.scenario_config as scenario_config

def _scenario_json_string(scenario_json):
return json.dumps(scenario_config.remove_nonproto_fields(scenario_json))

print yaml.dump({
'tests': [
{
'name': 'json_run_localhost',
'shortname': 'json_run_localhost:%s' % js['name'],
'args': ['--scenario_json', pipes.quote(json.dumps(js))],
'shortname': 'json_run_localhost:%s' % scenario_json['name'],
'args': ['--scenario_json',
pipes.quote(_scenario_json_string(scenario_json))],
'ci_platforms': ['linux', 'mac', 'posix', 'windows'],
'platforms': ['linux', 'mac', 'posix', 'windows'],
'flaky': False,
Expand All @@ -58,6 +62,6 @@
'cpu_cost': 1000.0,
'exclude_configs': []
}
for js in scenario_config.CXXLanguage().scenarios()
for scenario_json in scenario_config.CXXLanguage().scenarios()
]
})
Loading

0 comments on commit 92a9156

Please sign in to comment.