aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/run_performance_tests.py
diff options
context:
space:
mode:
authorGravatar Alex Polcyn <apolcyn@google.com>2016-12-06 04:21:37 +0000
committerGravatar Alex Polcyn <apolcyn@google.com>2016-12-06 04:21:37 +0000
commitca5e92442fedd5bd72fe2438f7d03c7bf2f9b00d (patch)
tree02a56ca30db1351b0976843a0d5793590547cf89 /tools/run_tests/run_performance_tests.py
parentfcf09ea42e0a4216292152b12514329ce49e7706 (diff)
clean up scenario.workers length check
Diffstat (limited to 'tools/run_tests/run_performance_tests.py')
-rwxr-xr-xtools/run_tests/run_performance_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/run_tests/run_performance_tests.py b/tools/run_tests/run_performance_tests.py
index 5e6ff44f4f..0109099ccc 100755
--- a/tools/run_tests/run_performance_tests.py
+++ b/tools/run_tests/run_performance_tests.py
@@ -465,7 +465,7 @@ for scenario in scenarios:
for worker in scenario.workers:
worker.start()
jobs = [scenario.jobspec]
- if len(scenario.workers) > 0:
+ if scenario.workers:
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)
total_scenario_failures += scenario_failures