clean up scenario.workers length check

pull/8969/head
Alex Polcyn 8 years ago
parent fcf09ea42e
commit ca5e92442f
  1. 2
      tools/run_tests/run_performance_tests.py

@ -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

Loading…
Cancel
Save