Exclude sweep tests from the "full" suite

pull/8054/head
Craig Tiller 8 years ago
parent 1c8bbc4106
commit c2895d2fee
  1. 3
      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 language in languages:
for scenario_json in language.scenarios(): for scenario_json in language.scenarios():
if re.search(args.regex, scenario_json['name']): 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)] workers = workers_by_lang[str(language)]
# 'SERVER_LANGUAGE' is an indicator for this script to pick # 'SERVER_LANGUAGE' is an indicator for this script to pick
# a server in different language. # a server in different language.

Loading…
Cancel
Save