Skip to content
Snippets Groups Projects
Commit ca5e9244 authored by Alex Polcyn's avatar Alex Polcyn
Browse files

clean up scenario.workers length check

parent fcf09ea4
No related branches found
No related tags found
No related merge requests found
...@@ -465,7 +465,7 @@ for scenario in scenarios: ...@@ -465,7 +465,7 @@ for scenario in scenarios:
for worker in scenario.workers: for worker in scenario.workers:
worker.start() worker.start()
jobs = [scenario.jobspec] jobs = [scenario.jobspec]
if len(scenario.workers) > 0: if scenario.workers:
jobs.append(create_quit_jobspec(scenario.workers, remote_host=args.remote_driver_host)) jobs.append(create_quit_jobspec(scenario.workers, remote_host=args.remote_driver_host))
scenario_failures, resultset = jobset.run(jobs, newline_on_success=True, maxjobs=1) scenario_failures, resultset = jobset.run(jobs, newline_on_success=True, maxjobs=1)
total_scenario_failures += scenario_failures total_scenario_failures += scenario_failures
......
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