Skip to content
Snippets Groups Projects
Commit 83374d51 authored by Craig Tiller's avatar Craig Tiller Committed by GitHub
Browse files

Merge pull request #8054 from ctiller/sweep_the_

Exclude sweep tests from the "full" suite
parents fce8da5d c2895d2f
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment