diff options
author | David Garcia Quintas <dgq@google.com> | 2016-09-12 22:57:29 -0700 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2016-09-12 22:57:29 -0700 |
commit | ebe7c176133f237f5b3df1bc12fdfb6fd692b25c (patch) | |
tree | 9fef9f1280b52502cd05277e67e3ebde7543e185 /tools/run_tests/run_performance_tests.py | |
parent | 331b9c02f9372ef832e612d48b90991c181ba8a7 (diff) | |
parent | 6e51f992c6bfdfba61d984ab173305da455bd2e7 (diff) |
Merge branch 'master' of github.com:grpc/grpc into lb_add_md
Diffstat (limited to 'tools/run_tests/run_performance_tests.py')
-rwxr-xr-x | tools/run_tests/run_performance_tests.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/run_tests/run_performance_tests.py b/tools/run_tests/run_performance_tests.py index 5fdf7a407d..25f5d4639f 100755 --- a/tools/run_tests/run_performance_tests.py +++ b/tools/run_tests/run_performance_tests.py @@ -300,7 +300,8 @@ def create_scenarios(languages, workers_by_lang, remote_host=None, regex='.*', for language in languages: for scenario_json in language.scenarios(): if re.search(args.regex, scenario_json['name']): - if category in scenario_json.get('CATEGORIES', []) or category == 'all': + categories = scenario_json.get('CATEGORIES', []) + if category in categories or (category == 'all' and categories != ['sweep']): workers = workers_by_lang[str(language)] # 'SERVER_LANGUAGE' is an indicator for this script to pick # a server in different language. @@ -374,7 +375,7 @@ argp.add_argument('-r', '--regex', default='.*', type=str, argp.add_argument('--bq_result_table', default=None, type=str, help='Bigquery "dataset.table" to upload results to.') argp.add_argument('--category', - choices=['smoketest','all','scalable'], + choices=['smoketest','all','scalable','sweep'], default='all', help='Select a category of tests to run.') argp.add_argument('--netperf', |